Share via


NavigationSourceConfiguration.HasNavigationPropertyLink Method

Definition

Configures the navigation link for the given navigation property for this navigation source.

public virtual Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration HasNavigationPropertyLink (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationProperty, Microsoft.AspNet.OData.Builder.NavigationLinkBuilder navigationLinkBuilder);
abstract member HasNavigationPropertyLink : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationLinkBuilder -> Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration
override this.HasNavigationPropertyLink : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationLinkBuilder -> Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration
Public Overridable Function HasNavigationPropertyLink (navigationProperty As NavigationPropertyConfiguration, navigationLinkBuilder As NavigationLinkBuilder) As NavigationSourceConfiguration

Parameters

navigationProperty
NavigationPropertyConfiguration

The navigation property for which the navigation link is being generated.

navigationLinkBuilder
NavigationLinkBuilder

The builder used to generate the navigation link.

Returns

Returns itself so that multiple calls can be chained.

Applies to