Share via


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

Return Value

Type: System.Web.OData.Builder.NavigationPropertyBindingConfiguration

The NavigationPropertyBindingConfiguration so that it can be further configured.

Implements

INavigationSourceConfiguration.AddBinding(NavigationPropertyConfiguration, INavigationSourceConfiguration)

See Also

NavigationSourceConfiguration Class
System.Web.OData.Builder Namespace

Return to top