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 | |
---|---|---|
EntitySetLinkBuilderAnnotation() | Initializes a new instance of the EntitySetLinkBuilderAnnotation class. | |
EntitySetLinkBuilderAnnotation(EntitySetConfiguration) | Constructs an instance of an EntitySetLinkBuilderAnnotation from an EntitySetConfiguration. | |
EntitySetLinkBuilderAnnotation(IEdmEntitySet, IEdmModel) | Initializes a new instance of the EntitySetLinkBuilderAnnotation class. | |
EntitySetLinkBuilderAnnotation(IEdmEntitySet, Func<FeedContext, Uri>, SelfLinkBuilder<String>, SelfLinkBuilder<Uri>, SelfLinkBuilder<Uri>) | Constructs an instance of an EntitySetLinkBuilderAnnotation. |
Top
Methods
Name | Description | |
---|---|---|
AddNavigationPropertyLinkBuilder | Register a link builder for a IEdmNavigationProperty that navigates from Entities in this EntitySet. | |
BuildEditLink | Constructs the EditLink URL for a particular EntityInstanceContext and ODataMetadataLevel. | |
BuildEntitySelfLinks | Constructs the EntitySelfLinks for a particular EntityInstanceContext and ODataMetadataLevel. | |
BuildFeedSelfLink | Build a self-link URI given a FeedContext. | |
BuildIdLink | Constructs the IdLink for a particular EntityInstanceContext and ODataMetadataLevel. | |
BuildNavigationLink | Constructs a NavigationLink for a particular EntityInstanceContext, IEdmNavigationProperty and ODataMetadataLevel. | |
BuildReadLink | Constructs a ReadLink URL for a particular EntityInstanceContext and ODataMetadataLevel. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.