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