EntityTypeExtensions.FindIndex(IEntityType, IProperty) Yöntem

Tanım

Verilen özellikte tanımlanan adlandırılmamış dizini alır. nullBöyle bir dizin tanımlanmazsa döndürür.

Özellik listesi eşleşse bile adlandırılmış dizinler döndürülmez.

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

Parametreler

entityType
IEntityType

Varlık türü.

property
IProperty

Dizinin bulunacağı özellik.

Döndürülenler

IIndex

Dizin veya Hiçbiri bulunmazsa null.

Şunlara uygulanır