EntityCollectionCastNode Constructor
Initializes a new instance of the EntityCollectionCastNode class.
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
source As EntityCollectionNode, _
entityType As IEdmEntityType _
)
'Usage
Dim source As EntityCollectionNode
Dim entityType As IEdmEntityType
Dim instance As New EntityCollectionCastNode(source, _
entityType)
public EntityCollectionCastNode(
EntityCollectionNode source,
IEdmEntityType entityType
)
public:
EntityCollectionCastNode(
EntityCollectionNode^ source,
IEdmEntityType^ entityType
)
new :
source:EntityCollectionNode *
entityType:IEdmEntityType -> EntityCollectionCastNode
public function EntityCollectionCastNode(
source : EntityCollectionNode,
entityType : IEdmEntityType
)
Parameters
- source
Type: Microsoft.Data.OData.Query.SemanticAst.EntityCollectionNode
the parent CollectionNode that is being cast.
- entityType
Type: Microsoft.Data.Edm.IEdmEntityType
The type to cast to.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Throws if the input source or entityType are null. |