Example #1
0
 public static IComparisonExpression <T> Descend <T, K>(this IComparisonExpression <T> expression, Expression <Func <T, K> > selector, Expression <Comparison <K> > comparison, bool nullOrder)
     where K : class
 {
     return(Compare(expression, selector, comparison, nullOrder, false));
 }
Example #2
0
 public static IComparisonExpression <T> Ascend <T, K>(this IComparisonExpression <T> expression, Expression <Func <T, K> > selector, Expression <Comparison <K> > comparison)
 {
     return(Compare(expression, selector, comparison, false));
 }
Example #3
0
 public static IComparisonExpression <T> Descend <T, K>(this IComparisonExpression <T> expression, Expression <Func <T, K> > selector, IComparer <K> comparer)
 {
     return(Compare(expression, selector, comparer, true));
 }
Example #4
0
 public static IComparisonExpression <T> Descend <T, K>(this IComparisonExpression <T> expression, Expression <Func <T, K?> > selector, bool nullOrder)
     where K : struct, IComparable <K>
 {
     return(Compare(expression, selector, nullOrder, false));
 }