Share via


NavigationSourceLinkBuilderAnnotation Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod NavigationSourceLinkBuilderAnnotation()

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

System_CAPS_pubmethod NavigationSourceLinkBuilderAnnotation(IEdmNavigationSource, IEdmModel)

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

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

Constructs an instance of an NavigationSourceLinkBuilderAnnotation class.

System_CAPS_pubmethod NavigationSourceLinkBuilderAnnotation(NavigationSourceConfiguration)

Constructs an instance of an NavigationSourceLinkBuilderAnnotation from an NavigationSourceConfiguration.

See Also

NavigationSourceLinkBuilderAnnotation Class
System.Web.OData.Builder Namespace

Return to top

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

Syntax

public NavigationSourceLinkBuilderAnnotation()
public:
NavigationSourceLinkBuilderAnnotation()
new : unit -> NavigationSourceLinkBuilderAnnotation
Public Sub New

Remarks

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

Return to top

Initializes a new instance of the NavigationSourceLinkBuilderAnnotation class.

Syntax

public NavigationSourceLinkBuilderAnnotation(
    IEdmNavigationSource navigationSource,
    IEdmModel model
)
public:
NavigationSourceLinkBuilderAnnotation(
    IEdmNavigationSource^ navigationSource,
    IEdmModel^ model
)
new : 
        navigationSource:IEdmNavigationSource *
        model:IEdmModel -> NavigationSourceLinkBuilderAnnotation
Public Sub New (
    navigationSource As IEdmNavigationSource,
    model As IEdmModel
)

Parameters

Remarks

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

Return to top

Constructs an instance of an NavigationSourceLinkBuilderAnnotation class.

Syntax

public NavigationSourceLinkBuilderAnnotation(
    IEdmNavigationSource navigationSource,
    SelfLinkBuilder<Uri> idLinkBuilder,
    SelfLinkBuilder<Uri> editLinkBuilder,
    SelfLinkBuilder<Uri> readLinkBuilder
)
public:
NavigationSourceLinkBuilderAnnotation(
    IEdmNavigationSource^ navigationSource,
    SelfLinkBuilder<Uri^>^ idLinkBuilder,
    SelfLinkBuilder<Uri^>^ editLinkBuilder,
    SelfLinkBuilder<Uri^>^ readLinkBuilder
)
new : 
        navigationSource:IEdmNavigationSource *
        idLinkBuilder:SelfLinkBuilder<Uri> *
        editLinkBuilder:SelfLinkBuilder<Uri> *
        readLinkBuilder:SelfLinkBuilder<Uri> -> NavigationSourceLinkBuilderAnnotation
Public Sub New (
    navigationSource As IEdmNavigationSource,
    idLinkBuilder As SelfLinkBuilder(Of Uri),
    editLinkBuilder As SelfLinkBuilder(Of Uri),
    readLinkBuilder As SelfLinkBuilder(Of Uri)
)

Parameters

Return to top

Constructs an instance of an NavigationSourceLinkBuilderAnnotation from an NavigationSourceConfiguration.

Syntax

public NavigationSourceLinkBuilderAnnotation(
    NavigationSourceConfiguration navigationSource
)
public:
NavigationSourceLinkBuilderAnnotation(
    NavigationSourceConfiguration^ navigationSource
)
new : 
        navigationSource:NavigationSourceConfiguration -> NavigationSourceLinkBuilderAnnotation
Public Sub New (
    navigationSource As NavigationSourceConfiguration
)

Return to top