NavigationSourceConfiguration<TEntityType>.HasReadLink 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 read link for the entities from this navigation source.
public void HasReadLink (Func<Microsoft.AspNet.OData.ResourceContext<TEntityType>,Uri> readLinkFactory, bool followsConventions);
member this.HasReadLink : Func<Microsoft.AspNet.OData.ResourceContext<'EntityType>, Uri> * bool -> unit
Public Sub HasReadLink (readLinkFactory As Func(Of ResourceContext(Of TEntityType), Uri), followsConventions As Boolean)
Parameters
- readLinkFactory
- Func<ResourceContext<TEntityType>,Uri>
The factory used to generate the read link.
- followsConventions
- Boolean
true
if the factory follows OData read link conventions;
otherwise, false
.