Share via


OrderByQueryOption.ApplyTo Method

 

Namespace:   System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod ApplyTo(IQueryable)

Apply the $orderby query to the given IQueryable.

System_CAPS_pubmethod ApplyTo(IQueryable, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

System_CAPS_pubmethod ApplyTo<T>(IQueryable<T>)

Apply the $orderby query to the given IQueryable.

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

Apply the $orderby query to the given IQueryable.

See Also

OrderByQueryOption Class
System.Web.Http.OData.Query Namespace

Return to top

OrderByQueryOption.ApplyTo Method (IQueryable)

Apply the $orderby query to the given IQueryable.

Syntax

public IOrderedQueryable ApplyTo(
    IQueryable query
)
public:
IOrderedQueryable^ ApplyTo(
    IQueryable^ query
)
member ApplyTo : 
        query:IQueryable -> IOrderedQueryable
Public Function ApplyTo (
    query As IQueryable
) As IOrderedQueryable

Parameters

Return Value

Type: System.Linq.IOrderedQueryable

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

Return to top

OrderByQueryOption.ApplyTo Method (IQueryable, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

Syntax

public IOrderedQueryable ApplyTo(
    IQueryable query,
    ODataQuerySettings querySettings
)
public:
IOrderedQueryable^ ApplyTo(
    IQueryable^ query,
    ODataQuerySettings^ querySettings
)
member ApplyTo : 
        query:IQueryable *
        querySettings:ODataQuerySettings -> IOrderedQueryable
Public Function ApplyTo (
    query As IQueryable,
    querySettings As ODataQuerySettings
) As IOrderedQueryable

Parameters

Return Value

Type: System.Linq.IOrderedQueryable

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

Return to top

OrderByQueryOption.ApplyTo<T> Method (IQueryable<T>)

Apply the $orderby query to the given IQueryable.

Syntax

public IOrderedQueryable<T> ApplyTo<T>(
    IQueryable<T> query
)
public:
generic<typename T>
IOrderedQueryable<T>^ ApplyTo(
    IQueryable<T>^ query
)
member ApplyTo<'T> : 
        query:IQueryable<'T> -> IOrderedQueryable<'T>
Public Function ApplyTo(Of T) (
    query As IQueryable(Of T)
) As IOrderedQueryable(Of T)

Parameters

Return Value

Type: System.Linq.IOrderedQueryable<T>

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

Return to top

OrderByQueryOption.ApplyTo<T> Method (IQueryable<T>, ODataQuerySettings)

Apply the $orderby query to the given IQueryable.

Syntax

public IOrderedQueryable<T> ApplyTo<T>(
    IQueryable<T> query,
    ODataQuerySettings querySettings
)
public:
generic<typename T>
IOrderedQueryable<T>^ ApplyTo(
    IQueryable<T>^ query,
    ODataQuerySettings^ querySettings
)
member ApplyTo<'T> : 
        query:IQueryable<'T> *
        querySettings:ODataQuerySettings -> IOrderedQueryable<'T>
Public Function ApplyTo(Of T) (
    query As IQueryable(Of T),
    querySettings As ODataQuerySettings
) As IOrderedQueryable(Of T)

Parameters

Return Value

Type: System.Linq.IOrderedQueryable<T>

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

Return to top