Share via


RuntimeProperty.IReadOnlyProperty.IsKey Méthode

Définition

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

S’applique à