Jaa


ODataQueryOptions.Validate(ODataValidationSettings) Method

Definition

Validate all OData queries, including $skip, $top, $orderby and $filter, based on the given validationSettings. It throws an ODataException if validation failed.

public virtual void Validate (Microsoft.AspNet.OData.Query.ODataValidationSettings validationSettings);
abstract member Validate : Microsoft.AspNet.OData.Query.ODataValidationSettings -> unit
override this.Validate : Microsoft.AspNet.OData.Query.ODataValidationSettings -> unit
Public Overridable Sub Validate (validationSettings As ODataValidationSettings)

Parameters

validationSettings
ODataValidationSettings

The ODataValidationSettings instance which contains all the validation settings.

Applies to