예제 #1
0
 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();
 }
예제 #2
0
 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();
 }
예제 #3
0
 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;
 }
예제 #4
0
 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;
 }
예제 #5
0
 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;
 }