FilterQueryOption Class
This defines a $filter OData query option for querying.
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Query.FilterQueryOption
Syntax
public class FilterQueryOption
public ref class FilterQueryOption
type FilterQueryOption = class end
Public Class FilterQueryOption
Constructors
Name | Description | |
---|---|---|
FilterQueryOption(String, ODataQueryContext) | Initialize a new instance of FilterQueryOption based on the raw $filter value and an EdmModel from ODataQueryContext. |
Properties
Name | Description | |
---|---|---|
Context | Gets the given ODataQueryContext. |
|
FilterClause | Gets the parsed FilterClause for this query option. |
|
RawValue | Gets the raw $filter value. |
|
Validator | Gets or sets the Filter Query Validator |
Methods
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. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
Validate(ODataValidationSettings) | Validate the filter query based on the given validationSettings. It throws an ODataException if validation failed. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.OData.Query Namespace
Return to top