EntitySetLinkBuilderAnnotation.AddNavigationPropertyLinkBuilder Method (IEdmNavigationProperty, NavigationLinkBuilder)
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
public void AddNavigationPropertyLinkBuilder(
IEdmNavigationProperty navigationProperty,
NavigationLinkBuilder linkBuilder
)
public:
void AddNavigationPropertyLinkBuilder(
IEdmNavigationProperty^ navigationProperty,
NavigationLinkBuilder^ linkBuilder
)
member AddNavigationPropertyLinkBuilder :
navigationProperty:IEdmNavigationProperty *
linkBuilder:NavigationLinkBuilder -> unit
Public Sub AddNavigationPropertyLinkBuilder (
navigationProperty As IEdmNavigationProperty,
linkBuilder As NavigationLinkBuilder
)
Parameters
- navigationProperty
Type: Microsoft.Data.Edm.IEdmNavigationProperty
- linkBuilder
Type: System.Web.Http.OData.Builder.NavigationLinkBuilder
See Also
EntitySetLinkBuilderAnnotation Class
System.Web.Http.OData.Builder Namespace
Return to top