CollectionNavigationNode Constructor (IEdmNavigationProperty, SingleEntityNode)
Initializes a new instance of the CollectionNavigationNode class.
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
navigationProperty As IEdmNavigationProperty, _
source As SingleEntityNode _
)
'Usage
Dim navigationProperty As IEdmNavigationProperty
Dim source As SingleEntityNode
Dim instance As New CollectionNavigationNode(navigationProperty, _
source)
public CollectionNavigationNode(
IEdmNavigationProperty navigationProperty,
SingleEntityNode source
)
public:
CollectionNavigationNode(
IEdmNavigationProperty^ navigationProperty,
SingleEntityNode^ source
)
new :
navigationProperty:IEdmNavigationProperty *
source:SingleEntityNode -> CollectionNavigationNode
public function CollectionNavigationNode(
navigationProperty : IEdmNavigationProperty,
source : SingleEntityNode
)
Parameters
- navigationProperty
Type: Microsoft.Data.Edm.IEdmNavigationProperty
The navigation property that defines the collection node.
- source
Type: Microsoft.Data.OData.Query.SemanticAst.SingleEntityNode
The parent of this collection navigation node.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if the input source or navigation property is null. |
ArgumentException | Throws if the input navigation doesn't target a collection. |
See Also
Reference
CollectionNavigationNode Class