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.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class EntitySetLinkBuilderAnnotation
'Usage
Dim instance As EntitySetLinkBuilderAnnotation
public class EntitySetLinkBuilderAnnotation
public ref class EntitySetLinkBuilderAnnotation
type EntitySetLinkBuilderAnnotation =  class end
public class EntitySetLinkBuilderAnnotation

The EntitySetLinkBuilderAnnotation type exposes the following members.

Constructors

  Name Description
Public method EntitySetLinkBuilderAnnotation() Initializes a new instance of the EntitySetLinkBuilderAnnotation class.
Public method EntitySetLinkBuilderAnnotation(EntitySetConfiguration) Constructs an instance of an EntitySetLinkBuilderAnnotation from an EntitySetConfiguration.
Public method EntitySetLinkBuilderAnnotation(IEdmEntitySet, IEdmModel) Initializes a new instance of the EntitySetLinkBuilderAnnotation class.
Public method EntitySetLinkBuilderAnnotation(IEdmEntitySet, Func<FeedContext, Uri>, SelfLinkBuilder<String>, SelfLinkBuilder<Uri>, SelfLinkBuilder<Uri>) Constructs an instance of an EntitySetLinkBuilderAnnotation.

Top

Methods

  Name Description
Public method AddNavigationPropertyLinkBuilder Register a link builder for a IEdmNavigationProperty that navigates from Entities in this EntitySet.
Public method BuildEditLink Constructs the EditLink URL for a particular EntityInstanceContext and ODataMetadataLevel.
Public method BuildEntitySelfLinks Constructs the EntitySelfLinks for a particular EntityInstanceContext and ODataMetadataLevel.
Public method BuildFeedSelfLink Build a self-link URI given a FeedContext.
Public method BuildIdLink Constructs the IdLink for a particular EntityInstanceContext and ODataMetadataLevel.
Public method BuildNavigationLink Constructs a NavigationLink for a particular EntityInstanceContext, IEdmNavigationProperty and ODataMetadataLevel.
Public method BuildReadLink Constructs a ReadLink URL for a particular EntityInstanceContext and ODataMetadataLevel.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Web.Http.OData.Builder Namespace