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 edit 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 HasEditLink(
Func<EntityInstanceContext<TEntityType>, Uri> editLinkFactory,
bool followsConventions
)
public:
void HasEditLink(
Func<EntityInstanceContext<TEntityType>^, Uri^>^ editLinkFactory,
bool followsConventions
)
member HasEditLink :
editLinkFactory:Func<EntityInstanceContext<'TEntityType>, Uri> *
followsConventions:bool -> unit
Public Sub HasEditLink (
editLinkFactory As Func(Of EntityInstanceContext(Of TEntityType), Uri),
followsConventions As Boolean
)
Parameters
editLinkFactory
Type: System.Func<EntityInstanceContext<TEntityType>, Uri>The factory used to generate the edit link.
followsConventions
Type: System.Booleantrue if the factory follows OData edit link conventions; otherwise, false.
See Also
NavigationSourceConfiguration<TEntityType> Class
System.Web.OData.Builder Namespace
Return to top