Пример #1
0
 public Repository(dotnetfundaDbContext db)
 {
     this.db = db;
     table   = db.Set <T>();
 }
Пример #2
0
 public Repository()
 {
     this.db = new dotnetfundaDbContext();
     table   = db.Set <T>();
 }