Esempio n. 1
0
 public IQueryable <TEntity> GetByQuery(
     Expression <Func <TEntity, bool> > predicate,
     string FieldSort,
     bool FieldOption)
 {
     return(BaseDA <TEntity, TId> .Sort <TEntity>(((IQueryable <TEntity>) this.dbSet).Where <TEntity>(predicate), FieldSort, FieldOption, ref this.TotalRecord));
 }
Esempio n. 2
0
 public IQueryable <TEntity> GetByQuery(string FieldSort, bool FieldOption)
 {
     return(BaseDA <TEntity, TId> .Sort <TEntity>((IQueryable <TEntity>) this.dbSet, FieldSort, FieldOption, ref this.TotalRecordAll));
 }