예제 #1
0
        public static RelationalSpecification <TEntity> OrderByDescending <TEntity>(
            this RelationalSpecification <TEntity> specification, Expression <Func <TEntity, object> > orderByDescending)
        {
            specification.ApplyOrderByDescending(orderByDescending);

            return(specification);
        }
예제 #2
0
 public SpecificationBuilder <T> ApplyOrderByDescending(Expression <Func <T, object> > orderByDescending)
 {
     _relationalSpecification.ApplyOrderByDescending(orderByDescending);
     return(this);
 }