Jaa


EdmModelExtensions.SetNavigationSourceLinkBuilder Method

Definition

Sets the NavigationSourceLinkBuilderAnnotation to be used while generating self and navigation links for the given navigation source.

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)

Parameters

model
IEdmModel

The IEdmModel containing the navigation source.

navigationSource
IEdmNavigationSource

The navigation source.

Applies to