Compartilhar via


EdmModelExtensions.SetEntitySetLinkBuilder Method (IEdmModel, IEdmEntitySet, EntitySetLinkBuilderAnnotation)

 

Sets the EntitySetLinkBuilderAnnotation to be used while generating self and navigation links for the given entity set.

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

Syntax

public static void SetEntitySetLinkBuilder(
    this IEdmModel model,
    IEdmEntitySet entitySet,
    EntitySetLinkBuilderAnnotation entitySetLinkBuilder
)
public:
[ExtensionAttribute]
static void SetEntitySetLinkBuilder(
    IEdmModel^ model,
    IEdmEntitySet^ entitySet,
    EntitySetLinkBuilderAnnotation^ entitySetLinkBuilder
)
static member SetEntitySetLinkBuilder : 
        model:IEdmModel *
        entitySet:IEdmEntitySet *
        entitySetLinkBuilder:EntitySetLinkBuilderAnnotation -> unit
<ExtensionAttribute>
Public Shared Sub SetEntitySetLinkBuilder (
    model As IEdmModel,
    entitySet As IEdmEntitySet,
    entitySetLinkBuilder As EntitySetLinkBuilderAnnotation
)

Parameters

See Also

EdmModelExtensions Class
System.Web.Http.OData Namespace

Return to top