Share via


SingleEntityCastNode Class

Describes a node representing a type segment that casts a single entity parent node.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Query.SemanticAst.QueryNode
      Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
        Microsoft.Data.OData.Query.SemanticAst.SingleEntityNode
          Microsoft.Data.OData.Query.SemanticAst.SingleEntityCastNode

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

Syntax

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

The SingleEntityCastNode type exposes the following members.

Constructors

  Name Description
Public method SingleEntityCastNode Initializes a new instance of the SingleEntityCastNode class.

Top

Properties

  Name Description
Public property EntitySet Gets the EntitySet containing the source entity. (Overrides SingleEntityNode.EntitySet.)
Public property EntityTypeReference Gets the target type that the source is cast to. (Overrides SingleEntityNode.EntityTypeReference.)
Public property Kind Gets the kind of this node. (Inherited from SingleValueNode.)
Public property Source Gets the entity that casts to a different type.
Public property TypeReference Gets the target type that the source is cast to. (Overrides SingleValueNode.TypeReference.)

Top

Methods

  Name Description
Public method Accept<T>(QueryNodeVisitor<T>) Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes. (Inherited from QueryNode.)
Public method Accept<T>(QueryNodeVisitor<T>) Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes. (Overrides QueryNode.Accept<T>(QueryNodeVisitor<T>).)
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