NavigationSourceConfiguration.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 binding for the given navigation property and tries to create it if it does not exist. |
FindBinding(NavigationPropertyConfiguration)
Finds the bindings NavigationPropertyBindingConfiguration for the given navigation property.
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)
Parameters
- navigationConfiguration
- NavigationPropertyConfiguration
The navigation property.
Returns
The list of NavigationPropertyBindingConfiguration so that it can be further configured.
Applies to
FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>)
Finds the binding for the given navigation property and tries to create it if it does not exist.
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
Parameters
- navigationConfiguration
- NavigationPropertyConfiguration
The navigation property.
- bindingPath
- IList<MemberInfo>
The binding path.
Returns
The NavigationPropertyBindingConfiguration so that it can be further configured.