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