EdmEntitySet.AddNavigationTarget Method
Adds a navigation target specifying the destination entity set of a navigation property of an entity in this entity set.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub AddNavigationTarget ( _
property As IEdmNavigationProperty, _
target As IEdmEntitySet _
)
'Usage
Dim instance As EdmEntitySet
Dim property As IEdmNavigationProperty
Dim target As IEdmEntitySet
instance.AddNavigationTarget(property, _
target)
public void AddNavigationTarget(
IEdmNavigationProperty property,
IEdmEntitySet target
)
public:
void AddNavigationTarget(
IEdmNavigationProperty^ property,
IEdmEntitySet^ target
)
member AddNavigationTarget :
property:IEdmNavigationProperty *
target:IEdmEntitySet -> unit
public function AddNavigationTarget(
property : IEdmNavigationProperty,
target : IEdmEntitySet
)
Parameters
- property
Type: Microsoft.Data.Edm.IEdmNavigationProperty
The navigation property the target is being set for.
- target
Type: Microsoft.Data.Edm.IEdmEntitySet
The destination entity set of the specified navigation property.