ODataQueryOptions<TEntity>.ApplyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ApplyTo(IQueryable) |
Apply the individual query to the given IQueryable in the right order. |
ApplyTo(IQueryable, ODataQuerySettings) |
Apply the individual query to the given IQueryable in the right order. |
ApplyTo(IQueryable)
Apply the individual query to the given IQueryable in the right order.
public override System.Linq.IQueryable ApplyTo (System.Linq.IQueryable query);
override this.ApplyTo : System.Linq.IQueryable -> System.Linq.IQueryable
Public Overrides Function ApplyTo (query As IQueryable) As IQueryable
Parameters
- query
- IQueryable
The original IQueryable.
Returns
The new IQueryable after the query has been applied to.
Applies to
ApplyTo(IQueryable, ODataQuerySettings)
Apply the individual query to the given IQueryable in the right order.
public override System.Linq.IQueryable ApplyTo (System.Linq.IQueryable query, Microsoft.AspNet.OData.Query.ODataQuerySettings querySettings);
override this.ApplyTo : System.Linq.IQueryable * Microsoft.AspNet.OData.Query.ODataQuerySettings -> System.Linq.IQueryable
Public Overrides Function ApplyTo (query As IQueryable, querySettings As ODataQuerySettings) As IQueryable
Parameters
- query
- IQueryable
The original IQueryable.
- querySettings
- ODataQuerySettings
The settings to use in query composition.
Returns
The new IQueryable after the query has been applied to.