Share via


PropertyExtensions.IsIndex(IProperty) Methode

Definition

Achtung

Use IReadOnlyProperty.IsIndex

Ruft einen Wert ab, der angibt, ob diese Eigenschaft als Index (oder Teil eines zusammengesetzten Index) verwendet wird.

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

Parameter

property
IProperty

Die zu überprüfende Eigenschaft.

Gibt zurück

true , wenn die -Eigenschaft als Index verwendet wird, andernfalls false.

Attribute

Gilt für: