Share via


NavigationSourceLinkBuilderAnnotation Constructors

Definition

Overloads

NavigationSourceLinkBuilderAnnotation()

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

NavigationSourceLinkBuilderAnnotation(NavigationSourceConfiguration)

Constructs an instance of an NavigationSourceLinkBuilderAnnotation from an NavigationSourceConfiguration.

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

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

public NavigationSourceLinkBuilderAnnotation ();
Public Sub New ()

Remarks

The default constructor is intended for use by unit testing only.

Applies to

NavigationSourceLinkBuilderAnnotation(NavigationSourceConfiguration)

public NavigationSourceLinkBuilderAnnotation (Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration navigationSource);
new Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation : Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration -> Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation
Public Sub New (navigationSource As NavigationSourceConfiguration)

Parameters

Applies to

NavigationSourceLinkBuilderAnnotation(IEdmNavigationSource, IEdmModel)

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

public NavigationSourceLinkBuilderAnnotation (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmModel model);
new Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmModel -> Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation
Public Sub New (navigationSource As IEdmNavigationSource, model As IEdmModel)

Parameters

navigationSource
IEdmNavigationSource

The navigation source for which the link builder is being constructed.

model
IEdmModel

The EDM model that this navigation source belongs to.

Remarks

This constructor creates a link builder that generates URL's that follow OData conventions for the given navigation source.

Applies to

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

Constructs an instance of an NavigationSourceLinkBuilderAnnotation class.

public NavigationSourceLinkBuilderAnnotation (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.AspNet.OData.Builder.SelfLinkBuilder<Uri> idLinkBuilder, Microsoft.AspNet.OData.Builder.SelfLinkBuilder<Uri> editLinkBuilder, Microsoft.AspNet.OData.Builder.SelfLinkBuilder<Uri> readLinkBuilder);
new Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.AspNet.OData.Builder.SelfLinkBuilder<Uri> * Microsoft.AspNet.OData.Builder.SelfLinkBuilder<Uri> * Microsoft.AspNet.OData.Builder.SelfLinkBuilder<Uri> -> Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation
Public Sub New (navigationSource As IEdmNavigationSource, idLinkBuilder As SelfLinkBuilder(Of Uri), editLinkBuilder As SelfLinkBuilder(Of Uri), readLinkBuilder As SelfLinkBuilder(Of Uri))

Parameters

navigationSource
IEdmNavigationSource

The navigation source for which the link builder is being constructed.

idLinkBuilder
SelfLinkBuilder<Uri>

The ID link builder which is used to build the ID link.

editLinkBuilder
SelfLinkBuilder<Uri>

The Edit link builder which is used to build the Edit link.

readLinkBuilder
SelfLinkBuilder<Uri>

The Read link builder which is used to build the Read link.

Applies to