FilterQueryOption Class

Definition

This defines a $filter OData query option for querying.

public class FilterQueryOption
type FilterQueryOption = class
Public Class FilterQueryOption
Inheritance
FilterQueryOption

Constructors

FilterQueryOption(String, ODataQueryContext, ODataQueryOptionParser)

Initialize a new instance of FilterQueryOption based on the raw $filter value and an EdmModel from ODataQueryContext.

Properties

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

ApplyTo(IQueryable, ODataQuerySettings)

Apply the filter query to the given IQueryable.

Validate(ODataValidationSettings)

Validate the filter query based on the given validationSettings. It throws an ODataException if validation failed.

Applies to