FilterQueryOption.ApplyTo(IQueryable, ODataQuerySettings) 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.
Apply the filter query to the given IQueryable.
public System.Linq.IQueryable ApplyTo (System.Linq.IQueryable query, Microsoft.AspNet.OData.Query.ODataQuerySettings querySettings);
member this.ApplyTo : System.Linq.IQueryable * Microsoft.AspNet.OData.Query.ODataQuerySettings -> System.Linq.IQueryable
Public Function ApplyTo (query As IQueryable, querySettings As ODataQuerySettings) As IQueryable
Parameters
- query
- IQueryable
The original IQueryable.
- querySettings
- ODataQuerySettings
The ODataQuerySettings that contains all the query application related settings.
Returns
The new IQueryable after the filter query has been applied to.
Remarks
The HandleNullPropagation property specifies how this method should handle null propagation.