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
- navigationProperties
Type: System.Collections.Generic.IEnumerable<NavigationPropertyConfiguration>
The navigation properties 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.