EdmModelExtensions.SetNavigationSourceLinkBuilder 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.
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
- navigationSource
- IEdmNavigationSource
The navigation source.
- navigationSourceLinkBuilder
- NavigationSourceLinkBuilderAnnotation
The NavigationSourceLinkBuilderAnnotation to set.