NavigationSourceConfiguration.HasNavigationPropertyLink Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.