EntitySetLinkBuilderAnnotation.BuildIdLink Method
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
'Declaration
Public Overridable Function BuildIdLink ( _
instanceContext As EntityInstanceContext, _
metadataLevel As ODataMetadataLevel _
) As String
'Usage
Dim instance As EntitySetLinkBuilderAnnotation
Dim instanceContext As EntityInstanceContext
Dim metadataLevel As ODataMetadataLevel
Dim returnValue As String
returnValue = instance.BuildIdLink(instanceContext, _
metadataLevel)
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 function BuildIdLink(
instanceContext : EntityInstanceContext,
metadataLevel : ODataMetadataLevel
) : String
Parameters
- instanceContext
Type: System.Web.Http.OData.EntityInstanceContext
- metadataLevel
Type: System.Web.Http.OData.Formatter.ODataMetadataLevel
Return Value
Type: System.String