示例#1
0
 public CourseRepository()
 {
     this.db = DataContext;
 }
示例#2
0
 public GenericRepository(MLPContext db)
 {
     this.db = db;
     table   = db.Set <T>();
 }
示例#3
0
 public CategoryCourseRepository()
 {
     this.db = DataContext;
 }
示例#4
0
 public GenericRepository()
 {
     this.db = DataContext;
     table   = db.Set <T>();
 }