Share via


SingleResourceCastNode Class

Definition

Node representing a type segment that casts a single entity/complex parent node.

public sealed class SingleResourceCastNode : Microsoft.OData.UriParser.SingleResourceNode
type SingleResourceCastNode = class
    inherit SingleResourceNode
Public NotInheritable Class SingleResourceCastNode
Inherits SingleResourceNode
Inheritance

Constructors

SingleResourceCastNode(SingleResourceNode, IEdmStructuredType)

Created a SingleResourceCastNode with the given source node and the given type to cast to.

Properties

Kind

Gets the kind of this node.

(Inherited from SingleValueNode)
NavigationSource

Gets the navigation source containing the source entity..

Source

Gets the resource that we're casting to a different type.

StructuredTypeReference

Gets the target type that the source is cast to.

TypeReference

Gets the target type that the source is cast to.

Methods

Accept<T>(QueryNodeVisitor<T>)

Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes.

Applies to