Exemple #1
0
 public Repository(dotnetfundaDbContext db)
 {
     this.db = db;
     table   = db.Set <T>();
 }
Exemple #2
0
 public Repository()
 {
     this.db = new dotnetfundaDbContext();
     table   = db.Set <T>();
 }