Share via


PropertyExtensions.IsIndex(IProperty) Metodo

Definizione

Attenzione

Use IReadOnlyProperty.IsIndex

Ottiene un valore che indica se questa proprietà viene usata come indice (o parte di un indice composito).

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

Parametri

property
IProperty

Proprietà da controllare.

Restituisce

true se la proprietà viene usata come indice, in caso contrario false.

Attributi

Si applica a