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
- instanceContext
Type: System.Web.Http.OData.EntityInstanceContext
- metadataLevel
Type: System.Web.Http.OData.Formatter.ODataMetadataLevel
Return Value
Type: System.String
Returns String.
See Also
EntitySetLinkBuilderAnnotation Class
System.Web.Http.OData.Builder Namespace
Return to top