public void DoDeleteSystemConfig(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Delete; SystemConfigBll bll = new SystemConfigBll(contextInfo); bll.CallAccessControl(); bll.DoDelete<tsyssystemconfig>(lstParameters); Parameter.CURRENT_SYSTEM_CONFIG = null; GC.Collect(); }
public List<tsyssystemconfig> GetSystemConfigList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; SystemConfigBll bll = new SystemConfigBll(contextInfo); bll.CallAccessControl(); List<tsyssystemconfig> rs = bll.GetSelectedObjects<tsyssystemconfig>(lstParameters); GC.Collect(); return rs; }
public DataSet GetSystemConfigRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; SystemConfigBll bll = new SystemConfigBll(contextInfo); bll.CallAccessControl(); DataSet rs = bll.GetSelectedRecords<tsyssystemconfig>(lstParameters); GC.Collect(); return rs; }
public void DoUpdateSystemConfig(ContextInfo contextInfo, tsyssystemconfig systemConfig) { contextInfo.Action = MES_ActionType.Update; SystemConfigBll bll = new SystemConfigBll(contextInfo); bll.CallAccessControl(); bll.DoUpdate(systemConfig); Parameter.CURRENT_SYSTEM_CONFIG = null; GC.Collect(); }