ODataQueryOptions<TEntity>.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) | Apply the individual query to the given IQueryable in the right order. (Overrides ODataQueryOptions.ApplyTo(IQueryable).) |
|
ApplyTo(IQueryable, ODataQuerySettings) | Apply the individual query to the given IQueryable in the right order. (Overrides ODataQueryOptions.ApplyTo(IQueryable, ODataQuerySettings).) |
|
ApplyTo(Object, ODataQuerySettings) | Applies the query to the given entity using the given ODataQuerySettings. (Inherited from ODataQueryOptions.) |
See Also
ODataQueryOptions<TEntity> Class
System.Web.Http.OData.Query Namespace
Return to top
ODataQueryOptions<TEntity>.ApplyTo Method (IQueryable)
Apply the individual query to the given IQueryable in the right order.
Syntax
public override IQueryable ApplyTo(
IQueryable query
)
public:
virtual IQueryable^ ApplyTo(
IQueryable^ query
) override
override ApplyTo :
query:IQueryable -> IQueryable
Public Overrides Function ApplyTo (
query As IQueryable
) As IQueryable
Parameters
query
Type: System.Linq.IQueryableThe original IQueryable.
Return Value
Type: System.Linq.IQueryable
The new IQueryable after the query has been applied to.
Return to top
ODataQueryOptions<TEntity>.ApplyTo Method (IQueryable, ODataQuerySettings)
Apply the individual query to the given IQueryable in the right order.
Syntax
public override IQueryable ApplyTo(
IQueryable query,
ODataQuerySettings querySettings
)
public:
virtual IQueryable^ ApplyTo(
IQueryable^ query,
ODataQuerySettings^ querySettings
) override
override ApplyTo :
query:IQueryable *
querySettings:ODataQuerySettings -> IQueryable
Public Overrides 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 settings to use in query composition.
Return Value
Type: System.Linq.IQueryable
The new IQueryable after the query has been applied to.
Return to top