Partager via


EdmModelExtensions.SetNavigationSourceLinkBuilder Méthode

Définition

Définit le à utiliser lors de la NavigationSourceLinkBuilderAnnotation génération de liens d’auto-navigation et de navigation pour la source de navigation donnée.

public static void SetNavigationSourceLinkBuilder (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation navigationSourceLinkBuilder);
static member SetNavigationSourceLinkBuilder : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.AspNet.OData.Builder.NavigationSourceLinkBuilderAnnotation -> unit
<Extension()>
Public Sub SetNavigationSourceLinkBuilder (model As IEdmModel, navigationSource As IEdmNavigationSource, navigationSourceLinkBuilder As NavigationSourceLinkBuilderAnnotation)

Paramètres

model
IEdmModel

IEdmModel contenant la source de navigation.

navigationSource
IEdmNavigationSource

Source de navigation.

S’applique à