Share via


NavigationSourceLinkBuilderAnnotation.BuildEntitySelfLinks Method (EntityInstanceContext, ODataMetadataLevel)

 

Constructs the EntitySelfLinks for a particular EntityInstanceContext and ODataMetadataLevel.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.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

Return Value

Type: System.Web.OData.Formatter.Serialization.EntitySelfLinks

See Also

NavigationSourceLinkBuilderAnnotation Class
System.Web.OData.Builder Namespace

Return to top