Share via


EntityCollectionCastNode Class

Represents a type segment that casts an entity collection node.

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.EntityCollectionCastNode

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

Syntax

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

The EntityCollectionCastNode type exposes the following members.

Constructors

  Name Description
Public method EntityCollectionCastNode Initializes a new instance of the EntityCollectionCastNode 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 entity type that casts all items in this collection to. (Overrides EntityCollectionNode.EntityItemType.)
Public property EntitySet Gets the EntitySet that the collection comes from. (Overrides EntityCollectionNode.EntitySet.)
Public property ItemType Gets the type that casts all items in this collection to. (Overrides CollectionNode.ItemType.)
Public property Kind Gets the kind of this node. (Inherited from CollectionNode.)
Public property Source Gets the casting entity collection node.

Top

Methods

  Name Description
Public method Accept<T>(QueryNodeVisitor<T>) Accept a QueryNodeVisitor<T> that walk 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