Share via


FilterQueryValidator.ValidateEntityCollectionCastNode Method (EntityCollectionCastNode, ODataValidationSettings)

 

Override this method if you want to validate casts on entity collections.

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

Syntax

public virtual void ValidateEntityCollectionCastNode(
    EntityCollectionCastNode entityCollectionCastNode,
    ODataValidationSettings settings
)
public:
virtual void ValidateEntityCollectionCastNode(
    EntityCollectionCastNode^ entityCollectionCastNode,
    ODataValidationSettings^ settings
)
abstract ValidateEntityCollectionCastNode : 
        entityCollectionCastNode:EntityCollectionCastNode *
        settings:ODataValidationSettings -> unit
override ValidateEntityCollectionCastNode : 
        entityCollectionCastNode:EntityCollectionCastNode *
        settings:ODataValidationSettings -> unit
Public Overridable Sub ValidateEntityCollectionCastNode (
    entityCollectionCastNode As EntityCollectionCastNode,
    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