示例#1
0
 public EfUnitOfWork(GroceryStoreContext context)
 {
     this.dbContext = context;
 }
 public EfGenericRepository(GroceryStoreContext context)
 {
     this.Context = context;
     this.DbSet   = this.Context.Set <T>();
 }