45 lines
		
	
	
		
			829 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			45 lines
		
	
	
		
			829 B
		
	
	
	
		
			C#
		
	
	
	
|  |  | |||
|  | /// <summary> | |||
|  | ///INTERFACE CLASS FOR TABLE t_erp_customer | |||
|  | ///By wm   | |||
|  | ///on 05/13/2020 | |||
|  | /// </summary> | |||
|  | 
 | |||
|  | using System; | |||
|  | using System.Collections.Generic; | |||
|  | using System.Linq; | |||
|  | using System.Text; | |||
|  | using System.Data; | |||
|  | 
 | |||
|  | namespace DeiNiu.wms.Data.Model | |||
|  | { | |||
|  |     [Serializable] | |||
|  |     public class Erp_customer : Erp_customer_base | |||
|  |     { | |||
|  |         public Erp_customer() | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  | 
 | |||
|  |         public Erp_customer(int id): base(id) | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  |         public Erp_customer(DataRow dr): base(dr) | |||
|  |         { | |||
|  | 
 | |||
|  |         } | |||
|  |       protected override void getImp() | |||
|  |         { | |||
|  |             model_imp = new Erp_customer_Imp();   | |||
|  |         } | |||
|  | 
 | |||
|  |         //begin cust db operation, query, excute sql etc. | |||
|  |         public DataSet QueryByName(string name) | |||
|  |         { | |||
|  |             cmdParameters[0] = name; | |||
|  |             return  CustQuery(100); | |||
|  |         } | |||
|  |     } | |||
|  | } | |||
|  |   |