public static RelationalSpecification <TEntity> OrderBy <TEntity>(this RelationalSpecification <TEntity> specification,
                                                                          Expression <Func <TEntity, object> > orderBy)
        {
            specification.ApplyOrderBy(orderBy);

            return(specification);
        }
Esempio n. 2
0
 public SpecificationBuilder <T> ApplyOrderBy(Expression <Func <T, object> > orderBy)
 {
     _relationalSpecification.ApplyOrderBy(orderBy);
     return(this);
 }