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(); }
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; }
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; }
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; }
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(); }