NavigationSourceLinkBuilderAnnotation.BuildNavigationLink Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a NavigationLink for a particular ResourceContext, IEdmNavigationProperty and ODataMetadataLevel.
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
Parameters
- instanceContext
- ResourceContext
- navigationProperty
- IEdmNavigationProperty
- metadataLevel
- ODataMetadataLevel