Compartir a través de


NavigationSourceLinkBuilderAnnotation.BuildNavigationLink Método

Definición

Construye un NavigationLink para un objeto , IEdmNavigationProperty y ODataMetadataLeveldeterminadoResourceContext.

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

Devoluciones

Uri

Se aplica a