EntitySetConfiguration.HasNavigationPropertyLink Method (NavigationPropertyConfiguration, NavigationLinkBuilder)
Configures the navigation link for the given navigation property for entities from this entity set.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual EntitySetConfiguration HasNavigationPropertyLink(
NavigationPropertyConfiguration navigationProperty,
NavigationLinkBuilder navigationLinkBuilder
)
public:
virtual EntitySetConfiguration^ HasNavigationPropertyLink(
NavigationPropertyConfiguration^ navigationProperty,
NavigationLinkBuilder^ navigationLinkBuilder
)
abstract HasNavigationPropertyLink :
navigationProperty:NavigationPropertyConfiguration *
navigationLinkBuilder:NavigationLinkBuilder -> EntitySetConfiguration
override HasNavigationPropertyLink :
navigationProperty:NavigationPropertyConfiguration *
navigationLinkBuilder:NavigationLinkBuilder -> EntitySetConfiguration
Public Overridable Function HasNavigationPropertyLink (
navigationProperty As NavigationPropertyConfiguration,
navigationLinkBuilder As NavigationLinkBuilder
) As EntitySetConfiguration
Parameters
navigationProperty
Type: System.Web.Http.OData.Builder.NavigationPropertyConfigurationThe navigation property for which the navigation link is being generated.
navigationLinkBuilder
Type: System.Web.Http.OData.Builder.NavigationLinkBuilderThe builder used to generate the navigation link.
Return Value
Type: System.Web.Http.OData.Builder.EntitySetConfiguration
Returns itself so that multiple calls can be chained.
See Also
EntitySetConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top