Share via


NavigationSourceConfiguration<TEntityType>.HasNavigationPropertiesLink Method

Definition

Configures the navigation link for the given navigation properties for entities from this navigation source.

public void HasNavigationPropertiesLink (System.Collections.Generic.IEnumerable<Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration> navigationProperties, Func<Microsoft.AspNet.OData.ResourceContext<TEntityType>,Microsoft.OData.Edm.IEdmNavigationProperty,Uri> navigationLinkFactory, bool followsConventions);
member this.HasNavigationPropertiesLink : seq<Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration> * Func<Microsoft.AspNet.OData.ResourceContext<'EntityType>, Microsoft.OData.Edm.IEdmNavigationProperty, Uri> * bool -> unit
Public Sub HasNavigationPropertiesLink (navigationProperties As IEnumerable(Of NavigationPropertyConfiguration), navigationLinkFactory As Func(Of ResourceContext(Of TEntityType), IEdmNavigationProperty, Uri), followsConventions As Boolean)

Parameters

navigationProperties
IEnumerable<NavigationPropertyConfiguration>

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

navigationLinkFactory
Func<ResourceContext<TEntityType>,IEdmNavigationProperty,Uri>

The factory used to generate the navigation link.

followsConventions
Boolean

true if the factory follows OData navigation link conventions; otherwise, false.

Applies to