Share via


INavigationSourceConfiguration.FindBinding Method

 

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod FindBinding(NavigationPropertyConfiguration)

Finds the binding for the given navigation property and tries to create it if it doesnot exist.

System_CAPS_pubmethod FindBinding(NavigationPropertyConfiguration, Boolean)

Finds the binding for the given navigation property.

System_CAPS_pubmethod 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

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

  • autoCreate
    Type: System.Boolean

    Tells 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.String

    The name of the navigation property.

Return Value

Type: System.Web.OData.Builder.NavigationPropertyBindingConfiguration

The NavigationPropertyBindingConfiguration.

Return to top