Share via


NavigationSourceConfiguration<TEntityType>.HasIdLink Method (Func<EntityInstanceContext<TEntityType>, Uri>, Boolean)

 

Configures the ID 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 HasIdLink(
    Func<EntityInstanceContext<TEntityType>, Uri> idLinkFactory,
    bool followsConventions
)
public:
void HasIdLink(
    Func<EntityInstanceContext<TEntityType>^, Uri^>^ idLinkFactory,
    bool followsConventions
)
member HasIdLink : 
        idLinkFactory:Func<EntityInstanceContext<'TEntityType>, Uri> *
        followsConventions:bool -> unit
Public Sub HasIdLink (
    idLinkFactory As Func(Of EntityInstanceContext(Of TEntityType), Uri),
    followsConventions As Boolean
)

Parameters

  • followsConventions
    Type: System.Boolean

    true if the factory follows OData ID link conventions; otherwise, false.

See Also

NavigationSourceConfiguration<TEntityType> Class
System.Web.OData.Builder Namespace

Return to top