Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
override this method to restrict the binary operators inside the filter query. That includes all the logical operators except 'not' and all math operators.
Namespace: System.Web.Http.OData.Query.Validators
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual void ValidateBinaryOperatorNode(
BinaryOperatorNode binaryOperatorNode,
ODataValidationSettings settings
)
public:
virtual void ValidateBinaryOperatorNode(
BinaryOperatorNode^ binaryOperatorNode,
ODataValidationSettings^ settings
)
abstract ValidateBinaryOperatorNode :
binaryOperatorNode:BinaryOperatorNode *
settings:ODataValidationSettings -> unit
override ValidateBinaryOperatorNode :
binaryOperatorNode:BinaryOperatorNode *
settings:ODataValidationSettings -> unit
Public Overridable Sub ValidateBinaryOperatorNode (
binaryOperatorNode As BinaryOperatorNode,
settings As ODataValidationSettings
)
Parameters
- binaryOperatorNode
Type: Microsoft.Data.OData.Query.SemanticAst.BinaryOperatorNode
- settings
Type: System.Web.Http.OData.Query.ODataValidationSettings
Remarks
This method is intended to be called from method overrides in subclasses. This method also supports unit-testing scenarios and is not intended to be called from user code. Call the Validate method to validate a FilterQueryOption instance.
See Also
FilterQueryValidator Class
System.Web.Http.OData.Query.Validators Namespace
Return to top