IConventionSkipNavigationBuilder.CanSetInverse 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.
Retourne une valeur indiquant si peut Inverse être défini pour cette navigation à partir de la source de configuration donnée.
public bool CanSetInverse (Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation inverse, bool fromDataAnnotation = false);
public bool CanSetInverse (Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation? inverse, bool fromDataAnnotation = false);
abstract member CanSetInverse : Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation * bool -> bool
Public Function CanSetInverse (inverse As IConventionSkipNavigation, Optional fromDataAnnotation As Boolean = false) As Boolean
Paramètres
- inverse
- IConventionSkipNavigation
Navigation inverse de saut. Le passage null
entraîne l’absence de propriété de navigation inverse définie.
- fromDataAnnotation
- Boolean
Indique si la configuration a été spécifiée à l’aide d’une annotation de données.
Retours
true
si peut Inverse être défini pour cette propriété.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour