Compartilhar via


NavigationSourceConfiguration.AddBinding Método

Definição

Sobrecargas

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration)

Associa a propriedade de navegação fornecida à fonte de navegação de destino.

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>)

Associa a propriedade de navegação fornecida à fonte de navegação de destino.

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration)

Associa a propriedade de navegação fornecida à fonte de navegação de destino.

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

Parâmetros

navigationConfiguration
NavigationPropertyConfiguration

A propriedade de navegação.

targetNavigationSource
NavigationSourceConfiguration

A fonte de navegação de destino.

Retornos

O NavigationPropertyBindingConfiguration para que ele possa ser configurado ainda mais.

Aplica-se a

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>)

Associa a propriedade de navegação fornecida à fonte de navegação de destino.

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

Parâmetros

navigationConfiguration
NavigationPropertyConfiguration

A propriedade de navegação.

targetNavigationSource
NavigationSourceConfiguration

A fonte de navegação de destino.

bindingPath
IList<MemberInfo>

O caminho de associação.

Retornos

O NavigationPropertyBindingConfiguration para que ele possa ser configurado ainda mais.

Aplica-se a