Share via


EntitySetConfiguration.HasNavigationPropertiesLink Method

Configures the navigation link for the given navigation properties 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 HasNavigationPropertiesLink ( _
    navigationProperties As IEnumerable(Of NavigationPropertyConfiguration), _
    navigationLinkBuilder As NavigationLinkBuilder _
) As EntitySetConfiguration
'Usage
Dim instance As EntitySetConfiguration 
Dim navigationProperties As IEnumerable(Of NavigationPropertyConfiguration)
Dim navigationLinkBuilder As NavigationLinkBuilder 
Dim returnValue As EntitySetConfiguration 

returnValue = instance.HasNavigationPropertiesLink(navigationProperties, _
    navigationLinkBuilder)
public virtual EntitySetConfiguration HasNavigationPropertiesLink(
    IEnumerable<NavigationPropertyConfiguration> navigationProperties,
    NavigationLinkBuilder navigationLinkBuilder
)
public:
virtual EntitySetConfiguration^ HasNavigationPropertiesLink(
    IEnumerable<NavigationPropertyConfiguration^>^ navigationProperties, 
    NavigationLinkBuilder^ navigationLinkBuilder
)
abstract HasNavigationPropertiesLink : 
        navigationProperties:IEnumerable<NavigationPropertyConfiguration> * 
        navigationLinkBuilder:NavigationLinkBuilder -> EntitySetConfiguration  
override HasNavigationPropertiesLink : 
        navigationProperties:IEnumerable<NavigationPropertyConfiguration> * 
        navigationLinkBuilder:NavigationLinkBuilder -> EntitySetConfiguration
public function HasNavigationPropertiesLink(
    navigationProperties : IEnumerable<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