public static ThenOrderByQ <M> ThenOrderBy <M, F>(this OrderByQ <M> orderByQ, Expression <Func <M, F> > propertyFunc, OrderByEnum orderBy = OrderByEnum.Desc) where M : class { orderByQ.DC.Action = ActionEnum.OrderBy; orderByQ.OrderByMF(propertyFunc, orderBy); return(new ThenOrderByQ <M>(orderByQ.DC)); }
public static DistinctQ <M> Distinct <M>(this OrderByQ <M> orderBy) where M : class { orderBy.DistinctHandle(); return(new DistinctQ <M>(orderBy.DC)); }
public static ThenOrderByQ <M> ThenOrderBy <M, F>(this OrderByQ <M> orderByQ, Expression <Func <M, F> > func, OrderByEnum orderBy = OrderByEnum.Desc) { orderByQ.DC.OP.OrderByHandle(func, orderBy); return(new ThenOrderByQ <M>(orderByQ.DC)); }
public static OrderByQ <M> ThenOrderBy <M, F>(this OrderByQ <M> target, Expression <Func <M, F> > propertyFunc, OrderByEnum orderBy = OrderByEnum.Desc) where M : class { return(OrderByQ(target, propertyFunc, orderBy)); }