Share via


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

Return Value

Type: System.Web.Http.OData.Builder.EntitySetConfiguration
Returns itself so that multiple calls can be chained.

See Also

Reference

EntitySetConfiguration Class

System.Web.Http.OData.Builder Namespace