NavigationSourceConfiguration.AddBinding Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration) |
Lie la propriété de navigation donnée à la source de navigation cible. |
AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>) |
Lie la propriété de navigation donnée à la source de navigation cible. |
AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration)
Lie la propriété de navigation donnée à la source de navigation cible.
public virtual Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration AddBinding (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationConfiguration, Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration targetNavigationSource);
abstract member AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
override this.AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
Public Overridable Function AddBinding (navigationConfiguration As NavigationPropertyConfiguration, targetNavigationSource As NavigationSourceConfiguration) As NavigationPropertyBindingConfiguration
Paramètres
- navigationConfiguration
- NavigationPropertyConfiguration
Propriété de navigation.
- targetNavigationSource
- NavigationSourceConfiguration
Source de navigation cible.
Retours
afin NavigationPropertyBindingConfiguration qu’il puisse être davantage configuré.
S’applique à
AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>)
Lie la propriété de navigation donnée à la source de navigation cible.
public virtual Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration AddBinding (Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration navigationConfiguration, Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration targetNavigationSource, System.Collections.Generic.IList<System.Reflection.MemberInfo> bindingPath);
abstract member AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration * System.Collections.Generic.IList<System.Reflection.MemberInfo> -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
override this.AddBinding : Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration * Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration * System.Collections.Generic.IList<System.Reflection.MemberInfo> -> Microsoft.AspNet.OData.Builder.NavigationPropertyBindingConfiguration
Public Overridable Function AddBinding (navigationConfiguration As NavigationPropertyConfiguration, targetNavigationSource As NavigationSourceConfiguration, bindingPath As IList(Of MemberInfo)) As NavigationPropertyBindingConfiguration
Paramètres
- navigationConfiguration
- NavigationPropertyConfiguration
Propriété de navigation.
- targetNavigationSource
- NavigationSourceConfiguration
Source de navigation cible.
- bindingPath
- IList<MemberInfo>
Chemin de liaison.
Retours
afin NavigationPropertyBindingConfiguration qu’il puisse être davantage configuré.