Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures the read link for the entities from this navigation source.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public void HasReadLink(
Func<EntityInstanceContext<TEntityType>, Uri> readLinkFactory,
bool followsConventions
)
public:
void HasReadLink(
Func<EntityInstanceContext<TEntityType>^, Uri^>^ readLinkFactory,
bool followsConventions
)
member HasReadLink :
readLinkFactory:Func<EntityInstanceContext<'TEntityType>, Uri> *
followsConventions:bool -> unit
Public Sub HasReadLink (
readLinkFactory As Func(Of EntityInstanceContext(Of TEntityType), Uri),
followsConventions As Boolean
)
Parameters
readLinkFactory
Type: System.Func<EntityInstanceContext<TEntityType>, Uri>The factory used to generate the read link.
followsConventions
Type: System.Booleantrue if the factory follows OData read link conventions; otherwise, false.
See Also
NavigationSourceConfiguration<TEntityType> Class
System.Web.OData.Builder Namespace
Return to top