NavigationSourceConfiguration<TEntityType>.HasNavigationPropertiesLink 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 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
.