public IQueryable <T> AllIncluding(params Expression <Func <T, object> >[] includeProperties) { IQueryable <T> query = dbContext.Set <T>(); foreach (var includeProperty in includeProperties) { query = query.Include(includeProperty); } return(query); }
public IQueryable <T> GetAll() { return(dbContext.Set <T>()); }
public virtual IQueryable <T> GetAll() { return(DbContext.Set <T>()); }