Пример #1
0
 public IQueryable <T> All <T>() where T : Entity
 {
     return(_context.Set <T>().AsQueryable());
 }
Пример #2
0
 public FoodOrderRepository(FoodOrderContext context)
 {
     _dbSet = context.Set <TEntity>();
 }