Compartilhar via


NavigationSourceConfiguration.FindBinding Método

Definição

Sobrecargas

FindBinding(NavigationPropertyConfiguration)

Localiza as associações NavigationPropertyBindingConfiguration para a propriedade de navegação fornecida.

FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>)

Encontra a associação para a propriedade de navegação dada e tenta criá-la se ela não existir.

FindBinding(NavigationPropertyConfiguration)

Localiza as associações NavigationPropertyBindingConfiguration para a propriedade de navegação fornecida.

public virtual System.Collections.Generic.IEnumerable<Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration> FindBinding (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationConfiguration);
abstract member FindBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration -> seq<Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration>
override this.FindBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration -> seq<Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration>
Public Overridable Function FindBinding (navigationConfiguration As NavigationPropertyConfiguration) As IEnumerable(Of NavigationPropertyBindingConfiguration)

Parâmetros

navigationConfiguration
NavigationPropertyConfiguration

A propriedade de navegação.

Retornos

A lista de de NavigationPropertyBindingConfiguration para que ela possa ser configurada ainda mais.

Aplica-se a

FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>)

Encontra a associação para a propriedade de navegação dada e tenta criá-la se ela não existir.

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

Parâmetros

navigationConfiguration
NavigationPropertyConfiguration

A propriedade de navegação.

bindingPath
IList<MemberInfo>

O caminho de associação.

Retornos

O NavigationPropertyBindingConfiguration para que ele possa ser configurado ainda mais.

Aplica-se a