public void DoInsertFunctions(ContextInfo contextInfo, tsecfunctions functions) { contextInfo.Action = MES_ActionType.Insert ; FunctionsBll bll = new FunctionsBll(contextInfo); bll.CallAccessControl(); bll.DoInsert<tsecfunctions>(functions); GC.Collect(); }
public void DoDeleteFunctions(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Delete; FunctionsBll bll = new FunctionsBll(contextInfo); bll.CallAccessControl(); bll.DoDelete<tsecfunctions>(lstParameters); GC.Collect(); }
public DataSet GetFunctionsRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; FunctionsBll bll = new FunctionsBll(contextInfo); bll.CallAccessControl(); DataSet rs = bll.GetSelectedRecords<tsecfunctions>(lstParameters); GC.Collect(); return rs; }
public tsecfunctions GetSingleFunctions(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; FunctionsBll bll = new FunctionsBll(contextInfo); bll.CallAccessControl(); tsecfunctions rs = bll.GetSingleObject<tsecfunctions>(lstParameters); GC.Collect(); return rs; }
public List<tsecfunctions> GetFunctionsList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; FunctionsBll bll = new FunctionsBll(contextInfo); bll.CallAccessControl(); List<tsecfunctions> rs = bll.GetSelectedObjects<tsecfunctions>(lstParameters); GC.Collect(); return rs; }