Пример #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>();
 }