다음을 통해 공유


ODataValidationSettings.AllowedFunctions 속성

정의

$filter 쿼리에 사용되는 허용된 함수 목록을 가져오거나 설정합니다.

허용된 함수는 다음과 같습니다.

문자열 관련: contains, endswith, startswith, length, indexof, substring, tolower, toupper, trim, concat

예: ~/Customers?$filter=length(CompanyName) eq 19

날짜 및 시간 관련: year, month, day, hour, minute, second, fractionalseconds, date, time

예: ~/Employees?$filter=year(BirthDate) eq 1971

수학 관련: 둥근, 바닥, 천장

type related:isof, cast,

컬렉션 관련: 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

속성 값

적용 대상