MutableEntityTypeExtensions.FindIndex(IMutableEntityType, IProperty) Methode

Definition

Ruft den index ab, der für die angegebene Eigenschaft definiert ist. Gibt NULL zurück, wenn kein Index definiert ist.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableIndex FindIndex (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member FindIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
<Extension()>
Public Function FindIndex (entityType As IMutableEntityType, property As IProperty) As IMutableIndex

Parameter

entityType
IMutableEntityType

Der Entitätstyp.

property
IProperty

Die Eigenschaft, für die der Index gesucht werden soll.

Gibt zurück

Der Index oder NULL, wenn keiner gefunden wird.

Gilt für: