Пример #1
0
 public EfUnitOfWork(GroceryStoreContext context)
 {
     this.dbContext = context;
 }
Пример #2
0
 public EfGenericRepository(GroceryStoreContext context)
 {
     this.Context = context;
     this.DbSet   = this.Context.Set <T>();
 }