Share via


NavigationSourceConfiguration.AddBinding Method

Definition

Overloads

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration)

Binds the given navigation property to the target navigation source.

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>)

Binds the given navigation property to the target navigation source.

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration)

Binds the given navigation property to the target navigation source.

public virtual Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration AddBinding (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationConfiguration, Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration targetNavigationSource);
abstract member AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
override this.AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
Public Overridable Function AddBinding (navigationConfiguration As NavigationPropertyConfiguration, targetNavigationSource As NavigationSourceConfiguration) As NavigationPropertyBindingConfiguration

Parameters

navigationConfiguration
NavigationPropertyConfiguration

The navigation property.

targetNavigationSource
NavigationSourceConfiguration

The target navigation source.

Returns

The NavigationPropertyBindingConfiguration so that it can be further configured.

Applies to

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>)

Binds the given navigation property to the target navigation source.

public virtual Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration AddBinding (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationConfiguration, Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration targetNavigationSource, System.Collections.Generic.IList<System.Reflection.MemberInfo> bindingPath);
abstract member AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration * System.Collections.Generic.IList<System.Reflection.MemberInfo> -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
override this.AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration * System.Collections.Generic.IList<System.Reflection.MemberInfo> -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
Public Overridable Function AddBinding (navigationConfiguration As NavigationPropertyConfiguration, targetNavigationSource As NavigationSourceConfiguration, bindingPath As IList(Of MemberInfo)) As NavigationPropertyBindingConfiguration

Parameters

navigationConfiguration
NavigationPropertyConfiguration

The navigation property.

targetNavigationSource
NavigationSourceConfiguration

The target navigation source.

bindingPath
IList<MemberInfo>

The binding path.

Returns

The NavigationPropertyBindingConfiguration so that it can be further configured.

Applies to