Exemplo n.º 1
0
 public void DoDeleteEmployee(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Delete;
     EmployeeBll bll = new EmployeeBll(contextInfo);
     bll.CallAccessControl();
     bll.DoDelete<tmdlemployee>(lstParameters);
     GC.Collect();
 }
Exemplo n.º 2
0
 public tmdlemployee GetSingleEmployee(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     EmployeeBll bll = new EmployeeBll(contextInfo);
     bll.CallAccessControl();
     tmdlemployee rs = bll.GetSingleObject<tmdlemployee>(lstParameters);
     GC.Collect();
     return rs;
 }
Exemplo n.º 3
0
 public List<tmdlemployee> GetEmployeeList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     EmployeeBll bll = new EmployeeBll(contextInfo);
     bll.CallAccessControl();
     List<tmdlemployee> rs = bll.GetSelectedObjects<tmdlemployee>(lstParameters);
     GC.Collect();
     return rs;
 }
Exemplo n.º 4
0
 public DataSet GetEmployeeRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     EmployeeBll bll = new EmployeeBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetSelectedRecords<tmdlemployee>(lstParameters);
     GC.Collect();
     return rs;
 }
Exemplo n.º 5
0
 public void DoUpdateEmployee(ContextInfo contextInfo, tmdlemployee employee)
 {
     contextInfo.Action = MES_ActionType.Update;
     EmployeeBll bll = new EmployeeBll(contextInfo);
     bll.CallAccessControl();
     bll.DoUpdate<tmdlemployee>(employee);
     GC.Collect();
 }