FilterQueryOption.ApplyTo Method
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
ApplyTo(IQueryable, ODataQuerySettings) | Apply the filter query to the given IQueryable. |
|
ApplyTo(IQueryable, ODataQuerySettings, IAssembliesResolver) | Apply the filter query to the given IQueryable. |
See Also
FilterQueryOption Class
System.Web.Http.OData.Query Namespace
Return to top
FilterQueryOption.ApplyTo Method (IQueryable, ODataQuerySettings)
Apply the filter query to the given IQueryable.
Syntax
public IQueryable ApplyTo(
IQueryable query,
ODataQuerySettings querySettings
)
public:
IQueryable^ ApplyTo(
IQueryable^ query,
ODataQuerySettings^ querySettings
)
member ApplyTo :
query:IQueryable *
querySettings:ODataQuerySettings -> IQueryable
Public Function ApplyTo (
query As IQueryable,
querySettings As ODataQuerySettings
) As IQueryable
Parameters
query
Type: System.Linq.IQueryableThe original IQueryable.
querySettings
Type: System.Web.Http.OData.Query.ODataQuerySettingsThe 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.
Remarks
The HandleNullPropagation property specifies how this method should handle null propagation.
Return to top
FilterQueryOption.ApplyTo Method (IQueryable, ODataQuerySettings, IAssembliesResolver)
Apply the filter query to the given IQueryable.
Syntax
public IQueryable ApplyTo(
IQueryable query,
ODataQuerySettings querySettings,
IAssembliesResolver assembliesResolver
)
public:
IQueryable^ ApplyTo(
IQueryable^ query,
ODataQuerySettings^ querySettings,
IAssembliesResolver^ assembliesResolver
)
member ApplyTo :
query:IQueryable *
querySettings:ODataQuerySettings *
assembliesResolver:IAssembliesResolver -> IQueryable
Public Function ApplyTo (
query As IQueryable,
querySettings As ODataQuerySettings,
assembliesResolver As IAssembliesResolver
) As IQueryable
Parameters
query
Type: System.Linq.IQueryableThe original IQueryable.
querySettings
Type: System.Web.Http.OData.Query.ODataQuerySettingsThe ODataQuerySettings that contains all the query application related settings.
assembliesResolver
Type: System.Web.Http.Dispatcher.IAssembliesResolverThe IAssembliesResolver to use.
Return Value
Type: System.Linq.IQueryable
The new IQueryable after the filter query has been applied to.
Remarks
The HandleNullPropagation property specifies how this method should handle null propagation.
Return to top