Table of Contents

Enum AllowedLogicalOperators

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

Logical operators to allow for querying using $filter.

[Flags]
public enum AllowedLogicalOperators

Fields

All = Or | And | Equal | NotEqual | GreaterThan | GreaterThanOrEqual | LessThan | LessThanOrEqual | Not

A value that corresponds to allowing all logical operators in $filter.

And = 2

A value that corresponds to allowing 'And' logical operator in $filter.

Equal = 4

A value that corresponds to allowing 'Equal' logical operator in $filter.

GreaterThan = 16

A value that corresponds to allowing 'GreaterThan' logical operator in $filter.

GreaterThanOrEqual = 32

A value that corresponds to allowing 'GreaterThanOrEqual' logical operator in $filter.

LessThan = 64

A value that corresponds to allowing 'LessThan' logical operator in $filter.

LessThanOrEqual = 128

A value that corresponds to allowing 'LessThanOrEqual' logical operator in $filter.

None = 0

A value that corresponds to allowing no logical operators in $filter.

Not = 256

A value that corresponds to allowing 'Not' logical operator in $filter.

NotEqual = 8

A value that corresponds to allowing 'NotEqual' logical operator in $filter.

Or = 1

A value that corresponds to allowing 'Or' logical operator in $filter.