public void DoDeleteCustomer(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Delete; CustomerBll bll = new CustomerBll(contextInfo); bll.CallAccessControl(); bll.DoDeleteCustomer(lstParameters); GC.Collect(); }
public void DoInsertCustomer(ContextInfo contextInfo, tmdlcustomer customer,List<tmdlcontact> lstContact) { contextInfo.Action = MES_ActionType.Insert; CustomerBll bll = new CustomerBll(contextInfo); bll.CallAccessControl(); bll.DoInsertCustomer(customer,lstContact); GC.Collect(); }
public tmdlcustomer GetSingleCustomer(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; CustomerBll bll = new CustomerBll(contextInfo); bll.CallAccessControl(); tmdlcustomer rs = bll.GetSingleObject<tmdlcustomer>(lstParameters); GC.Collect(); return rs; }
public DataSet GetCustomerRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; CustomerBll bll = new CustomerBll(contextInfo); bll.CallAccessControl(); DataSet rs = bll.GetSelectedRecords<tmdlcustomer>(lstParameters); GC.Collect(); return rs; }
public List<tmdlcustomer> GetCustomerList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; CustomerBll bll = new CustomerBll(contextInfo); bll.CallAccessControl(); List<tmdlcustomer> rs = bll.GetSelectedObjects<tmdlcustomer>(lstParameters); GC.Collect(); return rs; }