Share via


EntitySetLinkBuilderAnnotation.AddNavigationPropertyLinkBuilder Method

Register a link builder for a IEdmNavigationProperty that navigates from Entities in this EntitySet.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Sub AddNavigationPropertyLinkBuilder ( _
    navigationProperty As IEdmNavigationProperty, _
    linkBuilder As NavigationLinkBuilder _
)
'Usage
Dim instance As EntitySetLinkBuilderAnnotation 
Dim navigationProperty As IEdmNavigationProperty 
Dim linkBuilder As NavigationLinkBuilder

instance.AddNavigationPropertyLinkBuilder(navigationProperty, _
    linkBuilder)
public void AddNavigationPropertyLinkBuilder(
    IEdmNavigationProperty navigationProperty,
    NavigationLinkBuilder linkBuilder
)
public:
void AddNavigationPropertyLinkBuilder(
    IEdmNavigationProperty^ navigationProperty, 
    NavigationLinkBuilder^ linkBuilder
)
member AddNavigationPropertyLinkBuilder : 
        navigationProperty:IEdmNavigationProperty * 
        linkBuilder:NavigationLinkBuilder -> unit
public function AddNavigationPropertyLinkBuilder(
    navigationProperty : IEdmNavigationProperty, 
    linkBuilder : NavigationLinkBuilder
)

Parameters

  • navigationProperty
    Type: IEdmNavigationProperty

See Also

Reference

EntitySetLinkBuilderAnnotation Class

System.Web.Http.OData.Builder Namespace