예제 #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>();
 }