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