EnableQueryAttribute::AllowedFunctions Property
Gets or sets a value that represents a list of allowed functions used in the $filter query. The allowed functions include the following:
[list type="definition"] [item] [term]String related[/term] [description]substringof, endswith, startswith, length, indexof, substring, tolower, toupper, trim, concat e.g. ~/Customers?$filter=length(CompanyName) eq 19[/description] [/item] [item] [term]DateTime related[/term] [description]year, years, month, months, day, days, hour, hours, minute, minutes, second, seconds e.g. ~/Employees?$filter=year(BirthDate) eq 1971[/description] [/item] [item] [term]Math related[/term] [description]round, floor, ceiling[/description] [/item] [item] [term]Type related[/term] [description]isof, cast[/description] [/item] [item] [term]Collection related[/term] [description]any, all[/description] [/item] [/list]
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
public: property AllowedFunctions AllowedFunctions { AllowedFunctions get(); void set(AllowedFunctions value); }