SingleNavigationNode Constructor (IEdmNavigationProperty, SingleEntityNode)
Initializes a new instance of the SingleNavigationNode 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 SingleNavigationNode(navigationProperty, _
source)
public SingleNavigationNode(
IEdmNavigationProperty navigationProperty,
SingleEntityNode source
)
public:
SingleNavigationNode(
IEdmNavigationProperty^ navigationProperty,
SingleEntityNode^ source
)
new :
navigationProperty:IEdmNavigationProperty *
source:SingleEntityNode -> SingleNavigationNode
public function SingleNavigationNode(
navigationProperty : IEdmNavigationProperty,
source : SingleEntityNode
)
Parameters
- navigationProperty
Type: Microsoft.Data.Edm.IEdmNavigationProperty
The navigation property this node represents.
- source
Type: Microsoft.Data.OData.Query.SemanticAst.SingleEntityNode
The previous node in the path.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Throws if the input navigationProperty or source is null. |
| ArgumentException | Throws if the input navigationProperty targets more than one entity. |