RuntimeProperty.IReadOnlyProperty.IsKey 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 comme clé primaire ou autre clé (ou partie d’une clé primaire ou secondaire composite).
[System.Diagnostics.DebuggerStepThrough]
bool IReadOnlyProperty.IsKey();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsKey : unit -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.IsKey : unit -> bool
Function IsKey () As Boolean Implements IReadOnlyProperty.IsKey
Retours
true si la propriété est utilisée comme clé , sinon false.
Implémente
- Attributs