Jaa


OrderByQueryOption.ApplyTo Method

Definition

Overloads

ApplyTo(IQueryable)

Apply the $orderby query to the given IQueryable.

ApplyTo(IQueryable, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

ApplyTo<T>(IQueryable<T>)

Apply the $orderby query to the given IQueryable.

ApplyTo<T>(IQueryable<T>, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

ApplyTo(IQueryable)

Apply the $orderby query to the given IQueryable.

public System.Linq.IOrderedQueryable ApplyTo (System.Linq.IQueryable query);
member this.ApplyTo : System.Linq.IQueryable -> System.Linq.IOrderedQueryable
Public Function ApplyTo (query As IQueryable) As IOrderedQueryable

Parameters

query
IQueryable

The original IQueryable.

Returns

The new IQueryable after the orderby query has been applied to.

Applies to

ApplyTo(IQueryable, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

public System.Linq.IOrderedQueryable ApplyTo (System.Linq.IQueryable query, Microsoft.AspNet.OData.Query.ODataQuerySettings querySettings);
member this.ApplyTo : System.Linq.IQueryable * Microsoft.AspNet.OData.Query.ODataQuerySettings -> System.Linq.IOrderedQueryable
Public Function ApplyTo (query As IQueryable, querySettings As ODataQuerySettings) As IOrderedQueryable

Parameters

query
IQueryable

The original IQueryable.

querySettings
ODataQuerySettings

The ODataQuerySettings that contains all the query application related settings.

Returns

The new IQueryable after the orderby query has been applied to.

Applies to

ApplyTo<T>(IQueryable<T>)

Apply the $orderby query to the given IQueryable.

public System.Linq.IOrderedQueryable<T> ApplyTo<T> (System.Linq.IQueryable<T> query);
member this.ApplyTo : System.Linq.IQueryable<'T> -> System.Linq.IOrderedQueryable<'T>
Public Function ApplyTo(Of T) (query As IQueryable(Of T)) As IOrderedQueryable(Of T)

Type Parameters

T

Parameters

query
IQueryable<T>

The original IQueryable.

Returns

The new IQueryable after the orderby query has been applied to.

Applies to

ApplyTo<T>(IQueryable<T>, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

public System.Linq.IOrderedQueryable<T> ApplyTo<T> (System.Linq.IQueryable<T> query, Microsoft.AspNet.OData.Query.ODataQuerySettings querySettings);
member this.ApplyTo : System.Linq.IQueryable<'T> * Microsoft.AspNet.OData.Query.ODataQuerySettings -> System.Linq.IOrderedQueryable<'T>
Public Function ApplyTo(Of T) (query As IQueryable(Of T), querySettings As ODataQuerySettings) As IOrderedQueryable(Of T)

Type Parameters

T

Parameters

query
IQueryable<T>

The original IQueryable.

querySettings
ODataQuerySettings

The ODataQuerySettings that contains all the query application related settings.

Returns

The new IQueryable after the orderby query has been applied to.

Applies to