Share via


EntitySetLinkBuilderAnnotation Constructor (IEdmEntitySet, Func<FeedContext, Uri>, SelfLinkBuilder<String>, SelfLinkBuilder<Uri>, SelfLinkBuilder<Uri>)

Constructs an instance of an EntitySetLinkBuilderAnnotation.

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

Syntax

'Declaration
Public Sub New ( _
    entitySet As IEdmEntitySet, _
    feedSelfLinkBuilder As Func(Of FeedContext, Uri), _
    idLinkBuilder As SelfLinkBuilder(Of String), _
    editLinkBuilder As SelfLinkBuilder(Of Uri), _
    readLinkBuilder As SelfLinkBuilder(Of Uri) _
)
'Usage
Dim entitySet As IEdmEntitySet 
Dim feedSelfLinkBuilder As Func(Of FeedContext, Uri)
Dim idLinkBuilder As SelfLinkBuilder(Of String)
Dim editLinkBuilder As SelfLinkBuilder(Of Uri)
Dim readLinkBuilder As SelfLinkBuilder(Of Uri)

Dim instance As New EntitySetLinkBuilderAnnotation(entitySet, _
    feedSelfLinkBuilder, idLinkBuilder, _
    editLinkBuilder, readLinkBuilder)
public EntitySetLinkBuilderAnnotation(
    IEdmEntitySet entitySet,
    Func<FeedContext, Uri> feedSelfLinkBuilder,
    SelfLinkBuilder<string> idLinkBuilder,
    SelfLinkBuilder<Uri> editLinkBuilder,
    SelfLinkBuilder<Uri> readLinkBuilder
)
public:
EntitySetLinkBuilderAnnotation(
    IEdmEntitySet^ entitySet, 
    Func<FeedContext^, Uri^>^ feedSelfLinkBuilder, 
    SelfLinkBuilder<String^>^ idLinkBuilder, 
    SelfLinkBuilder<Uri^>^ editLinkBuilder, 
    SelfLinkBuilder<Uri^>^ readLinkBuilder
)
new : 
        entitySet:IEdmEntitySet * 
        feedSelfLinkBuilder:Func<FeedContext, Uri> * 
        idLinkBuilder:SelfLinkBuilder<string> * 
        editLinkBuilder:SelfLinkBuilder<Uri> * 
        readLinkBuilder:SelfLinkBuilder<Uri> -> EntitySetLinkBuilderAnnotation
public function EntitySetLinkBuilderAnnotation(
    entitySet : IEdmEntitySet, 
    feedSelfLinkBuilder : Func<FeedContext, Uri>, 
    idLinkBuilder : SelfLinkBuilder<String>, 
    editLinkBuilder : SelfLinkBuilder<Uri>, 
    readLinkBuilder : SelfLinkBuilder<Uri>
)

Parameters

  • entitySet
    Type: IEdmEntitySet

See Also

Reference

EntitySetLinkBuilderAnnotation Class

EntitySetLinkBuilderAnnotation Overload

System.Web.Http.OData.Builder Namespace