Share via


ODataQueryOptions<TEntity>.ApplyTo Method (IQueryable, ODataQuerySettings)

Apply the individual query to the given IQueryable in the right order.

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

Syntax

'Declaration
Public Overrides Function ApplyTo ( _
    query As IQueryable, _
    querySettings As ODataQuerySettings _
) As IQueryable
'Usage
Dim instance As ODataQueryOptions 
Dim query As IQueryable 
Dim querySettings As ODataQuerySettings 
Dim returnValue As IQueryable 

returnValue = instance.ApplyTo(query, _
    querySettings)
public override IQueryable ApplyTo(
    IQueryable query,
    ODataQuerySettings querySettings
)
public:
virtual IQueryable^ ApplyTo(
    IQueryable^ query, 
    ODataQuerySettings^ querySettings
) override
abstract ApplyTo : 
        query:IQueryable * 
        querySettings:ODataQuerySettings -> IQueryable  
override ApplyTo : 
        query:IQueryable * 
        querySettings:ODataQuerySettings -> IQueryable
public override function ApplyTo(
    query : IQueryable, 
    querySettings : ODataQuerySettings
) : IQueryable

Parameters

Return Value

Type: System.Linq.IQueryable
The query that the query has been applied to.

See Also

Reference

ODataQueryOptions<TEntity> Class

ApplyTo Overload

System.Web.Http.OData.Query Namespace