Share via


FilterQueryValidator.ValidateNavigationPropertyNode Method (QueryNode, IEdmNavigationProperty, ODataValidationSettings)

 

Override this method for the navigation property node.

Namespace:   System.Web.OData.Query.Validators
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public virtual void ValidateNavigationPropertyNode(
    QueryNode sourceNode,
    IEdmNavigationProperty navigationProperty,
    ODataValidationSettings settings
)
public:
virtual void ValidateNavigationPropertyNode(
    QueryNode^ sourceNode,
    IEdmNavigationProperty^ navigationProperty,
    ODataValidationSettings^ settings
)
abstract ValidateNavigationPropertyNode : 
        sourceNode:QueryNode *
        navigationProperty:IEdmNavigationProperty *
        settings:ODataValidationSettings -> unit
override ValidateNavigationPropertyNode : 
        sourceNode:QueryNode *
        navigationProperty:IEdmNavigationProperty *
        settings:ODataValidationSettings -> unit
Public Overridable Sub ValidateNavigationPropertyNode (
    sourceNode As QueryNode,
    navigationProperty As IEdmNavigationProperty,
    settings As ODataValidationSettings
)

Parameters

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.OData.Query.Validators Namespace

Return to top