42 lines
		
	
	
		
			797 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			797 B
		
	
	
	
		
			C#
		
	
	
	
| 
 | |
| /// <summary>
 | |
| ///INTERFACE CLASS FOR TABLE t_lessonCategory
 | |
| ///By wm with codesmith. 
 | |
| ///on 04/18/2017
 | |
| /// </summary>
 | |
| 
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Data;
 | |
| 
 | |
| namespace DeiNiu.wms.Data.Model
 | |
| {
 | |
|     [Serializable]
 | |
|     public class LessonCategory : LessonCategory_base
 | |
|     {
 | |
|         public LessonCategory()
 | |
|         {
 | |
| 
 | |
|         }
 | |
| 
 | |
|         public LessonCategory(int id): base(id)
 | |
|         {
 | |
| 
 | |
|         }
 | |
|         protected override void getImp()
 | |
|         {
 | |
|             model_imp = new LessonCategory_Imp();
 | |
| 
 | |
|         }
 | |
|         //begin cust db operation, query, excute sql etc.
 | |
|         public DataTable GetActivedLessonsByCat()
 | |
|         {
 | |
|             cmdParameters[0] = _id;
 | |
|             return CustQuery(100).Tables[0];
 | |
|         } 
 | |
| 
 | |
|     }
 | |
| }
 | |
|   |