コード例 #1
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public void AddNewCustomer(T_Customer newcustomer)
 {
     try
     {
         ch = new CustomerHelper();
         ch.addNewCustomer(newcustomer);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public void AddCustomerAddress(T_Customer_address address)
 {
     try
     {
         ch = new CustomerHelper();
         ch.AddCustomerAddress(address);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #3
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public void AddCustomerContact(T_Customer_contacts contacts)
 {
     try
     {
         ch = new CustomerHelper();
         ch.AddCustomerContacts(contacts);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #4
0
ファイル: CRMService.svc.cs プロジェクト: wangrenjay/MEMS
 public void EditCustomer(T_Customer customer)
 {
     try
     {
         ch = new CustomerHelper();
         ch.editCustomer(customer);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #5
0
ファイル: CRMService.svc.cs プロジェクト: wangrenjay/MEMS
 public T_Customer getCustomerbyid(int customerid)
 {
     try
     {
         ch = new CustomerHelper();
         var customer = ch.getCustomerByid(customerid);
         return customer;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #6
0
ファイル: CRMService.svc.cs プロジェクト: wangrenjay/MEMS
 public List<T_Customer> getCustomerListbyP(string cno, string cname, string csname)
 {
     try
     {
         ch = new CustomerHelper();
         List<T_Customer> clist = ch.getCustomerList(cno, cname, csname);
         return clist;
     }
     catch (Exception ex)
     {
         
         throw ex;
     }
 }
コード例 #7
0
ファイル: CRMService.svc.cs プロジェクト: wangrenjay/MEMS
 public List<T_Customer> getCustomerList()
 {
     try
     {
         ch = new CustomerHelper();
         List<T_Customer> clist = ch.getCustomerAllList();
         return clist;
     }
     catch (Exception ex)
     {
         
         throw ex;
     }
 }
コード例 #8
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public List<T_Base_profession> getProfList()
 {
     try
     {
         ch = new CustomerHelper();
         var lst = ch.getProfLst();
         return lst;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #9
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public List<T_Customer_contacts> getCustomerContactList(int customerid)
 {
     try
     {
         ch = new CustomerHelper();
         var lst = ch.getCustomerContacts(customerid);
         return lst;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #10
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public List<T_Customer_address> getCustomerAddressList(int customerid)
 {
     try
     {
         ch = new CustomerHelper();
         var lst = ch.getCustomerAddress(customerid);
         return lst;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #11
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public List<T_Base_customertype> getCtmtypeList()
 {
     try
     {
         ch = new CustomerHelper();
         var lst = ch.getCusmtypLst();
         return lst;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #12
0
ファイル: CRMService.svc.cs プロジェクト: eseawind/MEMS
 public void DeleteCustomer(T_Customer customer)
 {
     try
     {
         ch = new CustomerHelper();
         ch.delCustomer(customer);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }