예제 #1
0
 public GenericRepository(MeetingDbContext db)
 {
     this.db    = db;
     this.table = db.Set <T>();
 }
예제 #2
0
 public GenericRepository()
 {
     this.db    = new MeetingDbContext();
     this.table = db.Set <T>();
 }