CollectionNavigationNode Constructor (IEdmNavigationProperty, IEdmEntitySet)
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, _
sourceSet As IEdmEntitySet _
)
'Usage
Dim navigationProperty As IEdmNavigationProperty
Dim sourceSet As IEdmEntitySet
Dim instance As New CollectionNavigationNode(navigationProperty, _
sourceSet)
public CollectionNavigationNode(
IEdmNavigationProperty navigationProperty,
IEdmEntitySet sourceSet
)
public:
CollectionNavigationNode(
IEdmNavigationProperty^ navigationProperty,
IEdmEntitySet^ sourceSet
)
new :
navigationProperty:IEdmNavigationProperty *
sourceSet:IEdmEntitySet -> CollectionNavigationNode
public function CollectionNavigationNode(
navigationProperty : IEdmNavigationProperty,
sourceSet : IEdmEntitySet
)
Parameters
- navigationProperty
Type: Microsoft.Data.Edm.IEdmNavigationProperty
The navigation property that defines the collection node.
- sourceSet
Type: Microsoft.Data.Edm.IEdmEntitySet
The source entity set.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if the input navigation property is null. |
ArgumentException | Throws if the input navigation doesn't target a collection. |
See Also
Reference
CollectionNavigationNode Class