Share via


Microsoft.AspNetCore.OData.Query Namespace

Classes

ApplyQueryOption

This defines a $apply OData query option for querying.

CountQueryOption

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

DefaultODataQueryRequestParser

Exposes the ability to read and parse the content of a HttpRequest into a query options part of an OData URL. Query options may be passed in the request body to a resource path ending in /$query.

DefaultSkipTokenHandler

Default implementation of SkipTokenHandler for the service.

EnableQueryAttribute

This partial class defines the configuration on EnableQueryAttribute.

ETag

The ETag parsed from request.

ETag<TEntity>

OData ETag of an entity type TEntity.

FilterQueryOption

This defines a $filter OData query option for querying.

HttpRequestODataQueryExtensions
ODataQueryContext

This defines some context information used to perform query composition.

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 $count.

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.

ODataQueryParameterBindingAttribute

A ModelBinderAttribute to bind parameters of type ODataQueryOptions to the OData query from the incoming request.

ODataQueryRequestMiddleware

Defines the middleware for handling OData $query requests. This middleware essentially transforms the incoming request (Post) to a "Get" request. Be noted: should put this middle ware before "UseRouting()".

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.

OrderByCountNode

Represents an order by IEdmProperty expression.

OrderByItNode

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

OrderByNode

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

OrderByOpenPropertyNode

Represents ordering on a dynamic property

OrderByPropertyNode

Represents an order by IEdmProperty expression.

OrderByQueryOption

This defines a $orderby OData query option for querying.

SelectExpandQueryOption

Represents the OData $select and $expand query options.

SkipQueryOption

This defines a $skip OData query option for querying.

SkipTokenHandler

Represents how NextLink for paging is generated.

SkipTokenQueryOption

This defines a $skiptoken OData query option for querying.

TopQueryOption

This defines a $top OData query option for querying.

Interfaces

IODataQueryRequestParser

Exposes the ability to read and parse the content of a HttpRequest into a query options part of an OData URL. Query options may be passed in the request body to a resource path ending in /$query.

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.