Compartilhar via


EdmModelExtensions.SetNavigationSourceLinkBuilder Método

Definição

Define o NavigationSourceLinkBuilderAnnotation a ser usado ao gerar links de auto e navegação para a fonte de navegação fornecida.

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)

Parâmetros

model
IEdmModel

O IEdmModel que contém a fonte de navegação.

navigationSource
IEdmNavigationSource

A fonte de navegação.

Aplica-se a