Share via


SelectExpandQueryOption.ApplyTo Method (IQueryable, ODataQuerySettings)

Applies the select and expand query options to the given IQueryable using the given ODataQuerySettings.

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

Syntax

'Declaration
Public Function ApplyTo ( _
    queryable As IQueryable, _
    settings As ODataQuerySettings _
) As IQueryable
'Usage
Dim instance As SelectExpandQueryOption 
Dim queryable As IQueryable 
Dim settings As ODataQuerySettings 
Dim returnValue As IQueryable 

returnValue = instance.ApplyTo(queryable, _
    settings)
public IQueryable ApplyTo(
    IQueryable queryable,
    ODataQuerySettings settings
)
public:
IQueryable^ ApplyTo(
    IQueryable^ queryable, 
    ODataQuerySettings^ settings
)
member ApplyTo : 
        queryable:IQueryable * 
        settings:ODataQuerySettings -> IQueryable
public function ApplyTo(
    queryable : IQueryable, 
    settings : ODataQuerySettings
) : IQueryable

Parameters

Return Value

Type: System.Linq.IQueryable
The new IQueryable after the filter query has been applied to.

See Also

Reference

SelectExpandQueryOption Class

ApplyTo Overload

System.Web.Http.OData.Query Namespace