NavigationSourceConfiguration.AddBinding Method (NavigationPropertyConfiguration, INavigationSourceConfiguration)
Binds the given navigation property to the target navigation source.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual NavigationPropertyBindingConfiguration AddBinding(
NavigationPropertyConfiguration navigationConfiguration,
INavigationSourceConfiguration targetNavigationSource
)
public:
virtual NavigationPropertyBindingConfiguration^ AddBinding(
NavigationPropertyConfiguration^ navigationConfiguration,
INavigationSourceConfiguration^ targetNavigationSource
)
abstract AddBinding :
navigationConfiguration:NavigationPropertyConfiguration *
targetNavigationSource:INavigationSourceConfiguration -> NavigationPropertyBindingConfiguration
override AddBinding :
navigationConfiguration:NavigationPropertyConfiguration *
targetNavigationSource:INavigationSourceConfiguration -> NavigationPropertyBindingConfiguration
Public Overridable Function AddBinding (
navigationConfiguration As NavigationPropertyConfiguration,
targetNavigationSource As INavigationSourceConfiguration
) As NavigationPropertyBindingConfiguration
Parameters
navigationConfiguration
Type: System.Web.OData.Builder.NavigationPropertyConfigurationThe navigation property.
targetNavigationSource
Type: System.Web.OData.Builder.INavigationSourceConfigurationThe target navigation source.
Return Value
Type: System.Web.OData.Builder.NavigationPropertyBindingConfiguration
The NavigationPropertyBindingConfiguration so that it can be further configured.
Implements
See Also
NavigationSourceConfiguration Class
System.Web.OData.Builder Namespace
Return to top