Share via


EntitySetConfiguration.AddBinding Method (NavigationPropertyConfiguration, EntitySetConfiguration)

 

Binds the given navigation property to the target entity set.

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

Syntax

public virtual NavigationPropertyBindingConfiguration AddBinding(
    NavigationPropertyConfiguration navigationConfiguration,
    EntitySetConfiguration targetEntitySet
)
public:
virtual NavigationPropertyBindingConfiguration^ AddBinding(
    NavigationPropertyConfiguration^ navigationConfiguration,
    EntitySetConfiguration^ targetEntitySet
)
abstract AddBinding : 
        navigationConfiguration:NavigationPropertyConfiguration *
        targetEntitySet:EntitySetConfiguration -> NavigationPropertyBindingConfiguration
override AddBinding : 
        navigationConfiguration:NavigationPropertyConfiguration *
        targetEntitySet:EntitySetConfiguration -> NavigationPropertyBindingConfiguration
Public Overridable Function AddBinding (
    navigationConfiguration As NavigationPropertyConfiguration,
    targetEntitySet As EntitySetConfiguration
) As NavigationPropertyBindingConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.NavigationPropertyBindingConfiguration

The NavigationPropertyBindingConfiguration so that it can be further configured.

See Also

EntitySetConfiguration Class
System.Web.Http.OData.Builder Namespace

Return to top