public IQueryable <TEntity> GetModel(Action <IOrderable <TEntity> > orderby) { var linq = new Orderable <TEntity>(GetModel()); orderby(linq); return(linq.Queryable); }
public IQueryable <TEntity> GetModel(Action <IOrderable <TEntity> > orderby, System.Linq.Expressions.Expression <Func <TEntity, bool> > predicate) { var linq = new Orderable <TEntity>(GetModel(predicate)); orderby(linq); return(linq.Queryable); }
public IQueryable <TEntity> GetModel(Action <IOrderable <TEntity> > orderby, ISpecification <TEntity> specification) { var linq = new Orderable <TEntity>(GetModel(specification)); orderby(linq); return(linq.Queryable); }