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