Share via


EntitySetLinkBuilderAnnotation.BuildIdLink Method (EntityInstanceContext, ODataMetadataLevel)

 

Constructs the IdLink for a particular EntityInstanceContext and ODataMetadataLevel.

Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public virtual string BuildIdLink(
    EntityInstanceContext instanceContext,
    ODataMetadataLevel metadataLevel
)
public:
virtual String^ BuildIdLink(
    EntityInstanceContext^ instanceContext,
    ODataMetadataLevel metadataLevel
)
abstract BuildIdLink : 
        instanceContext:EntityInstanceContext *
        metadataLevel:ODataMetadataLevel -> string
override BuildIdLink : 
        instanceContext:EntityInstanceContext *
        metadataLevel:ODataMetadataLevel -> string
Public Overridable Function BuildIdLink (
    instanceContext As EntityInstanceContext,
    metadataLevel As ODataMetadataLevel
) As String

Parameters

Return Value

Type: System.String

Returns String.

See Also

EntitySetLinkBuilderAnnotation Class
System.Web.Http.OData.Builder Namespace

Return to top