Jaa


NavigationSourceLinkBuilderAnnotation Class

Definition

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

public class NavigationSourceLinkBuilderAnnotation
type NavigationSourceLinkBuilderAnnotation = class
Public Class NavigationSourceLinkBuilderAnnotation
Inheritance
NavigationSourceLinkBuilderAnnotation

Constructors

NavigationSourceLinkBuilderAnnotation()

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

NavigationSourceLinkBuilderAnnotation(IEdmNavigationSource, IEdmModel)

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

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

Constructs an instance of an NavigationSourceLinkBuilderAnnotation class.

NavigationSourceLinkBuilderAnnotation(NavigationSourceConfiguration)

Constructs an instance of an NavigationSourceLinkBuilderAnnotation from an NavigationSourceConfiguration.

Methods

AddNavigationPropertyLinkBuilder(IEdmNavigationProperty, NavigationLinkBuilder)

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

BuildEditLink(ResourceContext, ODataMetadataLevel, Uri)

Constructs the EditLink URL for a particular ResourceContext and ODataMetadataLevel.

BuildEntitySelfLinks(ResourceContext, ODataMetadataLevel)

Constructs the EntitySelfLinks for a particular ResourceContext and ODataMetadataLevel.

BuildIdLink(ResourceContext, ODataMetadataLevel)

Constructs the IdLink for a particular ResourceContext and ODataMetadataLevel.

BuildNavigationLink(ResourceContext, IEdmNavigationProperty, ODataMetadataLevel)

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

BuildReadLink(ResourceContext, ODataMetadataLevel, Uri)

Constructs a ReadLink URL for a particular ResourceContext and ODataMetadataLevel.

Applies to