Esempio n. 1
0
 public GenericRepository(AW2016DbContext _db)
 {
     db         = _db;
     _objectSet = db.Set <T>();
 }
Esempio n. 2
0
 public GenericUnitOfWork()
 {
     db = new AW2016DbContext();
 }