RuntimeProperty.IReadOnlyProperty.IsForeignKey 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.
Obtient une valeur indiquant si cette propriété est utilisée en tant que clé étrangère (ou partie d’une clé étrangère composite).
[System.Diagnostics.DebuggerStepThrough]
bool IReadOnlyProperty.IsForeignKey();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsForeignKey : unit -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsForeignKey : unit -> bool
Function IsForeignKey () As Boolean Implements IReadOnlyProperty.IsForeignKey
Retours
true si la propriété est utilisée comme clé étrangère, sinon false.
Implémente
- Attributs