Пример #1
0
        public static RelationalSpecification <TEntity> OrderBy <TEntity>(this RelationalSpecification <TEntity> specification,
                                                                          Expression <Func <TEntity, object> > orderBy)
        {
            specification.ApplyOrderBy(orderBy);

            return(specification);
        }
Пример #2
0
 public SpecificationBuilder <T> ApplyOrderBy(Expression <Func <T, object> > orderBy)
 {
     _relationalSpecification.ApplyOrderBy(orderBy);
     return(this);
 }