Share via


NavigationSourceConfiguration<TEntityType>.HasEditLink Method

Definition

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

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

Parameters

editLinkFactory
Func<ResourceContext<TEntityType>,Uri>

The factory used to generate the edit link.

followsConventions
Boolean

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

Applies to