ODataValidationSettings.AllowedFunctions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a list of allowed functions used in the $filter query.
The allowed functions include the following:
String related: contains, endswith, startswith, length, indexof, substring, tolower, toupper, trim, concat
e.g. ~/Customers?$filter=length(CompanyName) eq 19
Date and Time related: year, month, day, hour, minute, second, fractionalseconds, date, time
e.g. ~/Employees?$filter=year(BirthDate) eq 1971
Math related: round, floor, ceiling
Type related:isof, cast,
Collection related: any, all
public Microsoft.AspNet.OData.Query.AllowedFunctions AllowedFunctions { get; set; }
member this.AllowedFunctions : Microsoft.AspNet.OData.Query.AllowedFunctions with get, set
Public Property AllowedFunctions As AllowedFunctions