INavigationSourceConfiguration.FindBinding Method
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
FindBinding(NavigationPropertyConfiguration) | Finds the binding for the given navigation property and tries to create it if it doesnot exist. |
|
FindBinding(NavigationPropertyConfiguration, Boolean) | Finds the binding for the given navigation property. |
|
FindBinding(String) | Gets the NavigationPropertyBindingConfiguration for the navigation property with the given name. |
See Also
INavigationSourceConfiguration Interface
System.Web.OData.Builder Namespace
Return to top
INavigationSourceConfiguration.FindBinding Method (NavigationPropertyConfiguration)
Finds the binding for the given navigation property and tries to create it if it doesnot exist.
Syntax
NavigationPropertyBindingConfiguration FindBinding(
NavigationPropertyConfiguration navigationConfiguration
)
NavigationPropertyBindingConfiguration^ FindBinding(
NavigationPropertyConfiguration^ navigationConfiguration
)
abstract FindBinding :
navigationConfiguration:NavigationPropertyConfiguration -> NavigationPropertyBindingConfiguration
Function FindBinding (
navigationConfiguration As NavigationPropertyConfiguration
) As NavigationPropertyBindingConfiguration
Parameters
navigationConfiguration
Type: System.Web.OData.Builder.NavigationPropertyConfigurationThe navigation property.
Return Value
Type: System.Web.OData.Builder.NavigationPropertyBindingConfiguration
The NavigationPropertyBindingConfiguration so that it can be further configured.
Return to top
INavigationSourceConfiguration.FindBinding Method (NavigationPropertyConfiguration, Boolean)
Finds the binding for the given navigation property.
Syntax
NavigationPropertyBindingConfiguration FindBinding(
NavigationPropertyConfiguration navigationConfiguration,
bool autoCreate
)
NavigationPropertyBindingConfiguration^ FindBinding(
NavigationPropertyConfiguration^ navigationConfiguration,
bool autoCreate
)
abstract FindBinding :
navigationConfiguration:NavigationPropertyConfiguration *
autoCreate:bool -> NavigationPropertyBindingConfiguration
Function FindBinding (
navigationConfiguration As NavigationPropertyConfiguration,
autoCreate As Boolean
) As NavigationPropertyBindingConfiguration
Parameters
navigationConfiguration
Type: System.Web.OData.Builder.NavigationPropertyConfigurationThe navigation property.
autoCreate
Type: System.BooleanTells whether the binding should be auto created if it does not exist.
Return Value
Type: System.Web.OData.Builder.NavigationPropertyBindingConfiguration
The NavigationPropertyBindingConfiguration so that it can be further configured.
Return to top
INavigationSourceConfiguration.FindBinding Method (String)
Gets the NavigationPropertyBindingConfiguration for the navigation property with the given name.
Syntax
NavigationPropertyBindingConfiguration FindBinding(
string propertyName
)
NavigationPropertyBindingConfiguration^ FindBinding(
String^ propertyName
)
abstract FindBinding :
propertyName:string -> NavigationPropertyBindingConfiguration
Function FindBinding (
propertyName As String
) As NavigationPropertyBindingConfiguration
Parameters
propertyName
Type: System.StringThe name of the navigation property.
Return Value
Type: System.Web.OData.Builder.NavigationPropertyBindingConfiguration
The NavigationPropertyBindingConfiguration.
Return to top