EntitySetConfiguration.FindBinding Method (NavigationPropertyConfiguration)
Finds the binding for the given navigation property and tries to create 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 Overridable 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 virtual NavigationPropertyBindingConfiguration FindBinding(
NavigationPropertyConfiguration navigationConfiguration
)
public:
virtual NavigationPropertyBindingConfiguration^ FindBinding(
NavigationPropertyConfiguration^ navigationConfiguration
)
abstract FindBinding :
navigationConfiguration:NavigationPropertyConfiguration -> NavigationPropertyBindingConfiguration
override 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 NavigationPropertyBindingConfiguration so that it can be further configured.