Table of Contents

Enum AllowedQueryOptions

Namespace
System.Web.Http.OData.Query
Assembly
System.Web.Http.OData.dll

OData query options to allow for querying.

[Flags]
public enum AllowedQueryOptions

Fields

All = Supported | Format | SkipToken

A value that corresponds to allowing all query options.

Expand = 2

A value that corresponds to allowing the $expand query option.

Filter = 1

A value that corresponds to allowing the $filter query option.

Format = 128

A value that corresponds to allowing the $format query option.

InlineCount = 64

A value that corresponds to allowing the $inlinecount query option.

None = 0

A value that corresponds to allowing no query options.

OrderBy = 8

A value that corresponds to allowing the $orderby query option.

Select = 4

A value that corresponds to allowing the $select query option.

Skip = 32

A value that corresponds to allowing the $skip query option.

SkipToken = 256

A value that corresponds to allowing the $skiptoken query option.

Supported = Filter | Expand | Select | OrderBy | Top | Skip | InlineCount

A value that corresponds to the default query options supported by EnableQueryAttribute.

Top = 16

A value that corresponds to allowing the $top query option.