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