PropertyExtensions.IsIndex(IProperty) Méthode

Définition

Attention

Use IReadOnlyProperty.IsIndex

Obtient une valeur indiquant si cette propriété est utilisée comme index (ou partie d’un index composite).

public static bool IsIndex (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.IsIndex")]
public static bool IsIndex (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member IsIndex : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
[<System.Obsolete("Use IReadOnlyProperty.IsIndex")>]
static member IsIndex : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
<Extension()>
Public Function IsIndex (property As IProperty) As Boolean

Paramètres

property
IProperty

Propriété à vérifier.

Retours

true si la propriété est utilisée comme index, sinon false.

Attributs

S’applique à