Ejemplo n.º 1
0
 public static TOrderedQuery ThenByDescending(TOrderedQuery query, string propertyName)
 {
     return(GetCachedOrderCall(ThenByFuncs, string.Format(_descendingFormat, propertyName), propertyName, thenByDescendingMethod)(query));
 }
Ejemplo n.º 2
0
 public static TOrderedQuery OrderBy(TQuery query, string propertyName)
 {
     return(GetCachedOrderCall(OrderByFuncs, string.Format(_ascendingFormat, propertyName), propertyName, orderByMethod)(query));
 }