NavigationSourceConfiguration<TEntityType>.FindBinding Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FindBinding(NavigationPropertyConfiguration) |
Finds the bindings NavigationPropertyBindingConfiguration for the given navigation property |
FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>) |
Finds the NavigationPropertyBindingConfiguration for the given navigation property. |
FindBinding(NavigationPropertyConfiguration)
Finds the bindings NavigationPropertyBindingConfiguration for the given navigation property
public System.Collections.Generic.IEnumerable<Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration> FindBinding (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationConfiguration);
member this.FindBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration -> seq<Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration>
Public Function FindBinding (navigationConfiguration As NavigationPropertyConfiguration) As IEnumerable(Of NavigationPropertyBindingConfiguration)
Parameters
- navigationConfiguration
- NavigationPropertyConfiguration
The navigation property.
Returns
The bindings if found
Applies to
FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>)
Finds the NavigationPropertyBindingConfiguration for the given navigation property.
public Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration FindBinding (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationConfiguration, System.Collections.Generic.IList<System.Reflection.MemberInfo> bindingPath);
member this.FindBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * System.Collections.Generic.IList<System.Reflection.MemberInfo> -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
Public Function FindBinding (navigationConfiguration As NavigationPropertyConfiguration, bindingPath As IList(Of MemberInfo)) As NavigationPropertyBindingConfiguration
Parameters
- navigationConfiguration
- NavigationPropertyConfiguration
The navigation property.
- bindingPath
- IList<MemberInfo>
The navigation binding path.
Returns
The binding if found.