Share via


EntitySetLinkBuilderAnnotation Class

 

EntitySetLinkBuilderAnnotation is a class used to annotate an IEdmEntitySet inside an IEdmModel with information about how to build links related to that entity set.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.EntitySetLinkBuilderAnnotation

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod EntitySetLinkBuilderAnnotation()

Initializes a new instance of the EntitySetLinkBuilderAnnotation class.

System_CAPS_pubmethod EntitySetLinkBuilderAnnotation(EntitySetConfiguration)

Constructs an instance of an EntitySetLinkBuilderAnnotation from an EntitySetConfiguration.

System_CAPS_pubmethod EntitySetLinkBuilderAnnotation(IEdmEntitySet, Func<FeedContext, Uri>, SelfLinkBuilder<String>, SelfLinkBuilder<Uri>, SelfLinkBuilder<Uri>)

Constructs an instance of an EntitySetLinkBuilderAnnotation.

System_CAPS_pubmethod EntitySetLinkBuilderAnnotation(IEdmEntitySet, IEdmModel)

Initializes a new instance of the EntitySetLinkBuilderAnnotation class.

Methods

Name Description
System_CAPS_pubmethod AddNavigationPropertyLinkBuilder(IEdmNavigationProperty, NavigationLinkBuilder)

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

System_CAPS_pubmethod BuildEditLink(EntityInstanceContext, ODataMetadataLevel, String)

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 BuildFeedSelfLink(FeedContext)

Build a self-link URI given a FeedContext.

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.Http.OData.Builder Namespace

Return to top