Table of Contents

Namespace System.Web.Http.OData.Query

Classes

FilterQueryOption

This defines a $filter OData query option for querying.

InlineCountQueryOption

Represents the value of the $inlinecount query option and exposes a way to retrieve the number of entities that satisfy a query.

ODataQueryOptions

This defines a composite OData query options that can be used to perform query composition. Currently this only supports $filter, $orderby, $top, $skip, and $inlinecount.

ODataQueryOptions<TEntity>

This defines a composite OData query options that can be used to perform query composition. Currently this only supports $filter, $orderby, $top, $skip.

ODataQuerySettings

This class describes the settings to use during query composition.

ODataRawQueryOptions

Represents the raw query values in the string format from the incoming request.

ODataValidationSettings

This class describes the validation settings for querying.

OrderByItNode

Represents the order by expression '$it' in the $orderby clause.

OrderByNode

Represents a single order by expression in the $orderby clause.

OrderByPropertyNode

Represents an order by Microsoft.Data.Edm.IEdmProperty expression.

OrderByQueryOption

This defines a $orderby OData query option for querying.

QueryFilterProvider

An implementation of System.Web.Http.Filters.IFilterProvider that applies an action filter to any action with an IQueryable or IQueryable<T> return type that doesn't bind a parameter of type ODataQueryOptions.

SelectExpandQueryOption

Represents the OData $select and $expand query options.

SkipQueryOption

This defines a $skip OData query option for querying.

TopQueryOption

This defines a $top OData query option for querying.

TruncatedCollection<T>

Represents a class that truncates a collection to a given page size.

Interfaces

IPropertyMapper

The result of a $select and $expand projection is represented as an ISelectExpandWrapper instance. That instance can be projected into an IDictionary<TKey, TValue> instance by calling ToDictionary(Func<IEdmModel, IEdmStructuredType, IPropertyMapper>). That method will use the function to construct an IPropertyMapper that will map the property names in that projection to the keys in the returned IDictionary<TKey, TValue>. The main purpose of converting an ISelectExpandWrapper instance into an IDictionary<TKey, TValue> (using the method mentioned above) is to allow changing the names of the properties in the Microsoft.Data.Edm.IEdmStructuredType that will be used during the serialization of the $select and $expand projection by a given formatter. For example, to support custom serialization attributes of a particular formatter.

ISelectExpandWrapper

Represents the result of a $select and $expand query operation.

ITruncatedCollection

Represents a collection that is truncated to a given page size.

Enums

AllowedArithmeticOperators

Arithmetic operators to allow for querying using $filter.

AllowedFunctions

Functions to allow for querying using $filter.

AllowedLogicalOperators

Logical operators to allow for querying using $filter.

AllowedQueryOptions

OData query options to allow for querying.

HandleNullPropagationOption

This enum defines how to handle null propagation in queryable support.

InlineCountValue

Defines an enumeration for $inlinecount query option values.