Orders the results by keySelector ascending, translated to $orderby. Replaces any earlier ordering.
Declaration
public OrderedODataQuery<TSource, TResult> OrderBy(Expressions.Expression<Func<TResult, TKey>> keySelector)
Parameters
Returns
Orders the results by keySelector descending, translated to $orderby. Replaces any earlier ordering.
Declaration
public OrderedODataQuery<TSource, TResult> OrderByDescending(Expressions.Expression<Func<TResult, TKey>> keySelector)
Parameters
Returns
Skips count results, translated to $skip. Call it once, before Int32).
Declaration
public ODataQuery<TSource, TResult> Skip(int count)
Parameters
Returns
Takes at most count results, translated to $top. Call it once.
Declaration
public ODataQuery<TSource, TResult> Take(int count)
Parameters
Returns
Returns the query options with each value escaped once with String).
Declaration
public string ToQueryString()
Returns
Returns the query options unescaped, e.g. $apply=filter(Refunded ne true)/groupby((Currency),aggregate(Price with sum as TotalPrice)).
Declaration
public override string ToString()
Returns
Filters the results with predicate, translated to a filter(...) transformation after the grouping.
Declaration
public ODataQuery<TSource, TResult> Where(Expressions.Expression<Func<TResult, bool>> predicate)
Parameters
Returns
Requests the count of the results, translated to $count=true.
Declaration
public ODataQuery<TSource, TResult> WithCount()
Returns