EntitySetLinkBuilderAnnotation.BuildReadLink Method (EntityInstanceContext, ODataMetadataLevel, Uri)
Constructs a ReadLink URL 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 Uri BuildReadLink(
EntityInstanceContext instanceContext,
ODataMetadataLevel metadataLevel,
Uri editLink
)
public:
virtual Uri^ BuildReadLink(
EntityInstanceContext^ instanceContext,
ODataMetadataLevel metadataLevel,
Uri^ editLink
)
abstract BuildReadLink :
instanceContext:EntityInstanceContext *
metadataLevel:ODataMetadataLevel *
editLink:Uri -> Uri
override BuildReadLink :
instanceContext:EntityInstanceContext *
metadataLevel:ODataMetadataLevel *
editLink:Uri -> Uri
Public Overridable Function BuildReadLink (
instanceContext As EntityInstanceContext,
metadataLevel As ODataMetadataLevel,
editLink As Uri
) As Uri
Parameters
- instanceContext
Type: System.Web.Http.OData.EntityInstanceContext
- metadataLevel
Type: System.Web.Http.OData.Formatter.ODataMetadataLevel
- editLink
Type: System.Uri
Return Value
Type: System.Uri
Returns Uri.
See Also
EntitySetLinkBuilderAnnotation Class
System.Web.Http.OData.Builder Namespace
Return to top