ODataValidationSettings.AllowedFunctions Property
Gets or sets a list of allowed functions used in the $filter query. The allowed functions include the following: String related: substringof, endswith, startswith, length, indexof, substring, tolower, toupper, trim, concat e.g. ~/Customers?$filter=length(CompanyName) eq 19 DateTime related: year, years, month, months, day, days, hour, hours, minute, minutes, second, seconds e.g. ~/Employees?$filter=year(BirthDate) eq 1971 Math related: round, floor, ceiling Type related:isof, cast, Collection related: any, all
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public AllowedFunctions AllowedFunctions { get; set; }
public:
property AllowedFunctions AllowedFunctions {
AllowedFunctions get();
void set(AllowedFunctions value);
}
member AllowedFunctions : AllowedFunctions with get, set
Public Property AllowedFunctions As AllowedFunctions
Property Value
Type: System.Web.Http.OData.Query.AllowedFunctions
See Also
ODataValidationSettings Class
System.Web.Http.OData.Query Namespace
Return to top