Compartilhar via


NavigationSourceLinkBuilderAnnotation.BuildNavigationLink Método

Definição

Constrói um NavigationLink para um determinado ResourceContexte IEdmNavigationPropertyODataMetadataLevel.

public virtual Uri BuildNavigationLink (Microsoft.AspNet.OData.ResourceContext instanceContext, Microsoft.OData.Edm.IEdmNavigationProperty navigationProperty, Microsoft.AspNet.OData.Formatter.ODataMetadataLevel metadataLevel);
abstract member BuildNavigationLink : Microsoft.AspNet.OData.ResourceContext * Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.AspNet.OData.Formatter.ODataMetadataLevel -> Uri
override this.BuildNavigationLink : Microsoft.AspNet.OData.ResourceContext * Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.AspNet.OData.Formatter.ODataMetadataLevel -> Uri
Public Overridable Function BuildNavigationLink (instanceContext As ResourceContext, navigationProperty As IEdmNavigationProperty, metadataLevel As ODataMetadataLevel) As Uri

Parâmetros

instanceContext
ResourceContext
navigationProperty
IEdmNavigationProperty
metadataLevel
ODataMetadataLevel

Retornos

Uri

Aplica-se a