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
model
Type: Microsoft.Data.Edm.IEdmModelThe IEdmModel containing the entity set.
entitySet
Type: Microsoft.Data.Edm.IEdmEntitySetThe entity set.
entitySetLinkBuilder
Type: System.Web.Http.OData.Builder.EntitySetLinkBuilderAnnotationThe EntitySetLinkBuilderAnnotation to set.
See Also
EdmModelExtensions Class
System.Web.Http.OData Namespace
Return to top