CollectionNavigationNode Class

Describes a query node representing a collection navigation property.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Query.SemanticAst.QueryNode
      Microsoft.Data.OData.Query.SemanticAst.CollectionNode
        Microsoft.Data.OData.Query.SemanticAst.EntityCollectionNode
          Microsoft.Data.OData.Query.SemanticAst.CollectionNavigationNode

Namespace:  Microsoft.Data.OData.Query.SemanticAst
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class CollectionNavigationNode _
    Inherits EntityCollectionNode
'Usage
Dim instance As CollectionNavigationNode
public sealed class CollectionNavigationNode : EntityCollectionNode
public ref class CollectionNavigationNode sealed : public EntityCollectionNode
[<SealedAttribute>]
type CollectionNavigationNode =  
    class 
        inherit EntityCollectionNode 
    end
public final class CollectionNavigationNode extends EntityCollectionNode

The CollectionNavigationNode type exposes the following members.

Constructors

  Name Description
Public method CollectionNavigationNode(IEdmNavigationProperty, IEdmEntitySet) Initializes a new instance of the CollectionNavigationNode class.
Public method CollectionNavigationNode(IEdmNavigationProperty, SingleEntityNode) Initializes a new instance of the CollectionNavigationNode class.

Top

Properties

  Name Description
Public property CollectionType The type of the collection represented by this node. (Overrides CollectionNode.CollectionType.)
Public property EntityItemType Gets the resource type of a single entity from the collection. (Overrides EntityCollectionNode.EntityItemType.)
Public property EntitySet Gets the entity set containing this collection. (Overrides EntityCollectionNode.EntitySet.)
Public property ItemType Gets a reference to the resource type a single entity in the collection. (Overrides CollectionNode.ItemType.)
Public property Kind Gets the kind of this node. (Inherited from CollectionNode.)
Public property NavigationProperty Gets the Navigation Property that defines this collection Node.
Public property Source Gets the parent node of this Collection Navigation Node.
Public property TargetMultiplicity Gets the target multiplicity.

Top

Methods

  Name Description
Public method Accept<T>(QueryNodeVisitor<T>) Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes. (Overrides QueryNode.Accept<T>(QueryNodeVisitor<T>).)
Public method Accept<T>(QueryNodeVisitor<T>) Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes. (Inherited from QueryNode.)
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)

Top

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.

See Also

Reference

Microsoft.Data.OData.Query.SemanticAst Namespace