EntitySetConfiguration<TEntityType>.FindBinding Method (NavigationPropertyConfiguration)
Finds the NavigationPropertyBindingConfiguration for the navigation property or creates it if it does not exist.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Function FindBinding ( _
navigationConfiguration As NavigationPropertyConfiguration _
) As NavigationPropertyBindingConfiguration
'Usage
Dim instance As EntitySetConfiguration
Dim navigationConfiguration As NavigationPropertyConfiguration
Dim returnValue As NavigationPropertyBindingConfiguration
returnValue = instance.FindBinding(navigationConfiguration)
public NavigationPropertyBindingConfiguration FindBinding(
NavigationPropertyConfiguration navigationConfiguration
)
public:
NavigationPropertyBindingConfiguration^ FindBinding(
NavigationPropertyConfiguration^ navigationConfiguration
)
member FindBinding :
navigationConfiguration:NavigationPropertyConfiguration -> NavigationPropertyBindingConfiguration
public function FindBinding(
navigationConfiguration : NavigationPropertyConfiguration
) : NavigationPropertyBindingConfiguration
Parameters
- navigationConfiguration
Type: System.Web.Http.OData.Builder.NavigationPropertyConfiguration
The navigation property.
Return Value
Type: System.Web.Http.OData.Builder.NavigationPropertyBindingConfiguration
The binding if found; else the created binding.