EntitySetConfiguration.HasNavigationPropertyLink Method
Configures the navigation link for the given navigation property for entities from this entity set.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overridable Function HasNavigationPropertyLink ( _
navigationProperty As NavigationPropertyConfiguration, _
navigationLinkBuilder As NavigationLinkBuilder _
) As EntitySetConfiguration
'Usage
Dim instance As EntitySetConfiguration
Dim navigationProperty As NavigationPropertyConfiguration
Dim navigationLinkBuilder As NavigationLinkBuilder
Dim returnValue As EntitySetConfiguration
returnValue = instance.HasNavigationPropertyLink(navigationProperty, _
navigationLinkBuilder)
public virtual EntitySetConfiguration HasNavigationPropertyLink(
NavigationPropertyConfiguration navigationProperty,
NavigationLinkBuilder navigationLinkBuilder
)
public:
virtual EntitySetConfiguration^ HasNavigationPropertyLink(
NavigationPropertyConfiguration^ navigationProperty,
NavigationLinkBuilder^ navigationLinkBuilder
)
abstract HasNavigationPropertyLink :
navigationProperty:NavigationPropertyConfiguration *
navigationLinkBuilder:NavigationLinkBuilder -> EntitySetConfiguration
override HasNavigationPropertyLink :
navigationProperty:NavigationPropertyConfiguration *
navigationLinkBuilder:NavigationLinkBuilder -> EntitySetConfiguration
public function HasNavigationPropertyLink(
navigationProperty : NavigationPropertyConfiguration,
navigationLinkBuilder : NavigationLinkBuilder
) : EntitySetConfiguration
Parameters
- navigationProperty
Type: System.Web.Http.OData.Builder.NavigationPropertyConfiguration
The navigation property for which the navigation link is being generated.
- navigationLinkBuilder
Type: System.Web.Http.OData.Builder.NavigationLinkBuilder
The builder used to generate the navigation link.
Return Value
Type: System.Web.Http.OData.Builder.EntitySetConfiguration
Returns itself so that multiple calls can be chained.