EdmNavigationSource.AddNavigationTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddNavigationTarget(IEdmNavigationProperty, IEdmNavigationSource) |
Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this navigation source. |
AddNavigationTarget(IEdmNavigationProperty, IEdmNavigationSource, IEdmPathExpression) |
Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this navigation source. |
AddNavigationTarget(IEdmNavigationProperty, IEdmNavigationSource)
Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this navigation source.
public void AddNavigationTarget (Microsoft.OData.Edm.IEdmNavigationProperty navigationProperty, Microsoft.OData.Edm.IEdmNavigationSource target);
member this.AddNavigationTarget : Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.OData.Edm.IEdmNavigationSource -> unit
Public Sub AddNavigationTarget (navigationProperty As IEdmNavigationProperty, target As IEdmNavigationSource)
Parameters
- navigationProperty
- IEdmNavigationProperty
The navigation property the target is being set for.
- target
- IEdmNavigationSource
The destination navigation source of the specified navigation property.
Applies to
AddNavigationTarget(IEdmNavigationProperty, IEdmNavigationSource, IEdmPathExpression)
Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this navigation source.
public void AddNavigationTarget (Microsoft.OData.Edm.IEdmNavigationProperty navigationProperty, Microsoft.OData.Edm.IEdmNavigationSource target, Microsoft.OData.Edm.IEdmPathExpression bindingPath);
member this.AddNavigationTarget : Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmPathExpression -> unit
Public Sub AddNavigationTarget (navigationProperty As IEdmNavigationProperty, target As IEdmNavigationSource, bindingPath As IEdmPathExpression)
Parameters
- navigationProperty
- IEdmNavigationProperty
The navigation property the target is being set for.
- target
- IEdmNavigationSource
The destination navigation source of the specified navigation property.
- bindingPath
- IEdmPathExpression
Sets the path that the navigation property targets.