Table of Contents

Enum AllowedArithmeticOperators

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

Arithmetic operators to allow for querying using $filter.

[Flags]
public enum AllowedArithmeticOperators

Fields

Add = 1

A value that corresponds to allowing 'Add' arithmetic operator in $filter.

All = Add | Subtract | Multiply | Divide | Modulo

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

Divide = 8

A value that corresponds to allowing 'Divide' arithmetic operator in $filter.

Modulo = 16

A value that corresponds to allowing 'Modulo' arithmetic operator in $filter.

Multiply = 4

A value that corresponds to allowing 'Multiply' arithmetic operator in $filter.

None = 0

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

Subtract = 2

A value that corresponds to allowing 'Subtract' arithmetic operator in $filter.