Share via


NavigationSourceLinkBuilderAnnotation Class

 

NavigationSourceLinkBuilderAnnotation is a class used to annotate an IEdmNavigationSource inside an IEdmModel with information about how to build links related to that navigation source.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Builder.NavigationSourceLinkBuilderAnnotation

Syntax

public class NavigationSourceLinkBuilderAnnotation
public ref class NavigationSourceLinkBuilderAnnotation 
type NavigationSourceLinkBuilderAnnotation = class end
Public Class NavigationSourceLinkBuilderAnnotation

Constructors

Name Description
System_CAPS_pubmethod NavigationSourceLinkBuilderAnnotation()

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

System_CAPS_pubmethod NavigationSourceLinkBuilderAnnotation(IEdmNavigationSource, IEdmModel)

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

System_CAPS_pubmethod NavigationSourceLinkBuilderAnnotation(IEdmNavigationSource, SelfLinkBuilder<Uri>, SelfLinkBuilder<Uri>, SelfLinkBuilder<Uri>)

Constructs an instance of an NavigationSourceLinkBuilderAnnotation class.

System_CAPS_pubmethod NavigationSourceLinkBuilderAnnotation(NavigationSourceConfiguration)

Constructs an instance of an NavigationSourceLinkBuilderAnnotation from an NavigationSourceConfiguration.

Methods

Name Description
System_CAPS_pubmethod AddNavigationPropertyLinkBuilder(IEdmNavigationProperty, NavigationLinkBuilder)

Register a link builder for a IEdmNavigationProperty that navigates from Entities in this navigation source.

System_CAPS_pubmethod BuildEditLink(EntityInstanceContext, ODataMetadataLevel, Uri)

Constructs the EditLink URL for a particular EntityInstanceContext and ODataMetadataLevel.

System_CAPS_pubmethod BuildEntitySelfLinks(EntityInstanceContext, ODataMetadataLevel)

Constructs the EntitySelfLinks for a particular EntityInstanceContext and ODataMetadataLevel.

System_CAPS_pubmethod BuildIdLink(EntityInstanceContext, ODataMetadataLevel)

Constructs the IdLink for a particular EntityInstanceContext and ODataMetadataLevel.

System_CAPS_pubmethod BuildNavigationLink(EntityInstanceContext, IEdmNavigationProperty, ODataMetadataLevel)

Constructs a NavigationLink for a particular EntityInstanceContext, IEdmNavigationProperty and ODataMetadataLevel.

System_CAPS_pubmethod BuildReadLink(EntityInstanceContext, ODataMetadataLevel, Uri)

Constructs a ReadLink URL for a particular EntityInstanceContext and ODataMetadataLevel.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Builder Namespace

Return to top