コード例 #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);
 }