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
- queryable
Type: System.Linq.IQueryable
The original IQueryable.
- settings
Type: System.Web.Http.OData.Query.ODataQuerySettings
The ODataQuerySettings that contains all the query application related settings.
Return Value
Type: System.Linq.IQueryable
The new IQueryable after the filter query has been applied to.