Share via


FilterQueryOption.ApplyTo(IQueryable, ODataQuerySettings) Method

Definition

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.

Applies to