Пример #1
0
 public void DoInsertRole(ContextInfo contextInfo, tsecrole role, List<tsecrolefunction> lstRoleFunctions, List<tsecrolestep> lstRoleSteps, List<tsecroleeqpgroup> lstRoleEqpGroups)
 {
     contextInfo.Action = MES_ActionType.Insert ;
     RoleBll bll = new RoleBll(contextInfo);
     bll.CallAccessControl();
     bll.DoInsert(role, lstRoleFunctions, lstRoleSteps,lstRoleEqpGroups);
     GC.Collect();
 }
Пример #2
0
 public void DoDeleteRole(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Delete;
     RoleBll bll = new RoleBll(contextInfo);
     bll.CallAccessControl();
     bll.DoDelete(lstParameters);
     GC.Collect();
 }
Пример #3
0
 public DataSet GetRoleRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     RoleBll bll = new RoleBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetSelectedRecords<tsecrole>(lstParameters);
     GC.Collect();
     return rs;
 }
Пример #4
0
 public tsecrole GetSingleRole(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     RoleBll bll = new RoleBll(contextInfo);
     bll.CallAccessControl();
     tsecrole rs = bll.GetSingleObject<tsecrole>(lstParameters);
     GC.Collect();
     return rs;
 }
Пример #5
0
 public List<tsecrole> GetRoleList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     RoleBll bll = new RoleBll(contextInfo);
     bll.CallAccessControl();
     List<tsecrole> rs = bll.GetSelectedObjects<tsecrole>(lstParameters);
     GC.Collect();
     return rs;
 }