Esempio n. 1
0
 public static IOrderedQueryable <T> OrderByDescending <T>(this IQueryable <T> source, string propertyName)
 {
     return(PagerableOrderableHelper.OrderingHelper <T>(source, propertyName, true, false));
 }
Esempio n. 2
0
 public static IOrderedQueryable <T> OrderBy <T>(this IQueryable <T> source, string propertyName, bool asc)
 {
     return(PagerableOrderableHelper.OrderingHelper <T>(source, propertyName, !asc, false));
 }
Esempio n. 3
0
 public static IOrderedQueryable <T> ThenBy <T>(this IOrderedQueryable <T> source, string propertyName)
 {
     return(PagerableOrderableHelper.OrderingHelper <T>((IQueryable <T>)source, propertyName, false, true));
 }