Table of Contents

Enum AllowedFunctions

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

Functions to allow for querying using $filter.

[Flags]
public enum AllowedFunctions

Fields

All = 268435456

A value that corresponds to allowing 'All' function in $filter.

AllDateTimeFunctions = Year | Years | Month | Months | Day | Days | Hour | Hours | Minute | Minutes | Second | Seconds

A value that corresponds to allowing all datetime related functions in $filter.

AllFunctions = AllStringFunctions | Cast | AllDateTimeFunctions | AllMathFunctions | IsOf | Any | All

A value that corresponds to allowing all functions in $filter.

AllMathFunctions = Round | Floor | Ceiling

A value that corresponds to allowing math related functions in $filter.

AllStringFunctions = StartsWith | EndsWith | SubstringOf | Length | IndexOf | Concat | Substring | ToLower | ToUpper | Trim

A value that corresponds to allowing all string related functions in $filter.

Any = 134217728

A value that corresponds to allowing 'Any' function in $filter.

Cast = 1024

A value that corresponds to allowing 'Cast' function in $filter.

Ceiling = 33554432

A value that corresponds to allowing 'Ceiling' function in $filter.

Concat = 32

A value that corresponds to allowing 'Concat' function in $filter.

Day = 32768

A value that corresponds to allowing 'Day' function in $filter.

Days = 65536

A value that corresponds to allowing 'Days' function in $filter.

EndsWith = 2

A value that corresponds to allowing 'EndsWith' function in $filter.

Floor = 16777216

A value that corresponds to allowing 'Floor' function in $filter.

Hour = 131072

A value that corresponds to allowing 'Hour' function in $filter.

Hours = 262144

A value that corresponds to allowing 'Hours' function in $filter.

IndexOf = 16

A value that corresponds to allowing 'IndexOf' function in $filter.

IsOf = 67108864

A value that corresponds to allowing 'IsOf' function in $filter.

Length = 8

A value that corresponds to allowing 'Length' function in $filter.

Minute = 524288

A value that corresponds to allowing 'Minute' function in $filter.

Minutes = 1048576

A value that corresponds to allowing 'Minutes' function in $filter.

Month = 8192

A value that corresponds to allowing 'Month' function in $filter.

Months = 16384

A value that corresponds to allowing 'Months' function in $filter.

None = 0

A value that corresponds to allowing no functions in $filter.

Round = 8388608

A value that corresponds to allowing 'Round' function in $filter.

Second = 2097152

A value that corresponds to allowing 'Second' function in $filter.

Seconds = 4194304

A value that corresponds to allowing 'Seconds' function in $filter.

StartsWith = 1

A value that corresponds to allowing 'StartsWith' function in $filter.

Substring = 64

A value that corresponds to allowing 'Substring' function in $filter.

SubstringOf = 4

A value that corresponds to allowing 'SubstringOf' function in $filter.

ToLower = 128

A value that corresponds to allowing 'ToLower' function in $filter.

ToUpper = 256

A value that corresponds to allowing 'ToUpper' function in $filter.

Trim = 512

A value that corresponds to allowing 'Trim' function in $filter.

Year = 2048

A value that corresponds to allowing 'Year' function in $filter.

Years = 4096

A value that corresponds to allowing 'Years' function in $filter.