Esempio n. 1
0
 public IQueryable <GamePick> GetQueryable()
 {
     return(_dbContext.Set <GamePick>()
            .AsQueryable()
            .Include(gp => gp.Game)
            .Include(gp => gp.User));
 }
 public IQueryable <TEntity> GetQueryable()
 {
     return(_dbContext.Set <TEntity>().AsQueryable());
 }
Esempio n. 3
0
 public IEnumerable <Team> GetAll()
 {
     return(_dbContext.Set <Team>().AsQueryable().ToList().OrderBy(t => t.Id));
 }