ODataValidationSettings Class
This class describes the validation settings for querying.
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Query.ODataValidationSettings
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class ODataValidationSettings
'Usage
Dim instance As ODataValidationSettings
public class ODataValidationSettings
public ref class ODataValidationSettings
type ODataValidationSettings = class end
public class ODataValidationSettings
The ODataValidationSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataValidationSettings | Initializes a new instance of the ODataValidationSettings class. |
Top
Properties
Name | Description | |
---|---|---|
AllowedArithmeticOperators | Gets or sets a list of allowed arithmetic operators including 'add', 'sub', 'mul', 'div', 'mod'. | |
AllowedFunctions | Gets or sets a list of allowed functions used in the $filter query. | |
AllowedLogicalOperators | Gets or sets a list of allowed logical operators such as 'eq', 'ne', 'gt', 'ge', 'lt', 'le', 'and', 'or', 'not'. | |
AllowedOrderByProperties | Gets a list of properties one can orderby the result with. | |
AllowedQueryOptions | Gets or sets the query parameters that are allowed inside query. | |
MaxAnyAllExpressionDepth | Gets or sets the maximum depth of the Any or All elements nested inside the query. | |
MaxExpansionDepth | Gets or sets the max expansion depth for the expand query option. | |
MaxNodeCount | Gets or sets the maximum number of the nodes inside the $filter syntax tree. | |
MaxOrderByNodeCount | Gets or sets the maximum number of expressions that can be present in the $orderby. | |
MaxSkip | Gets or sets the max value of $skip that a client can request. | |
MaxTop | Gets or sets the max value of $top that a client can request. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
No content here will be updated; please do not add material here.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.