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