Share via


NavigationSourceConfiguration<TEntityType>.HasIdLink Method

Definition

Configures the ID link for the entities from this navigation source.

public void HasIdLink (Func<Microsoft.AspNet.OData.ResourceContext<TEntityType>,Uri> idLinkFactory, bool followsConventions);
member this.HasIdLink : Func<Microsoft.AspNet.OData.ResourceContext<'EntityType>, Uri> * bool -> unit
Public Sub HasIdLink (idLinkFactory As Func(Of ResourceContext(Of TEntityType), Uri), followsConventions As Boolean)

Parameters

idLinkFactory
Func<ResourceContext<TEntityType>,Uri>

The factory used to generate the ID link.

followsConventions
Boolean

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

Applies to