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