ConventionEntityTypeExtensions.FindIndex(IConventionEntityType, IProperty) Yöntem

Tanım

Verilen özellikte tanımlanan adsız dizini alır. Böyle null bir dizin tanımlanmamışsa döndürür.

Özellik listesi eşlese bile adlandırılmış dizinler döndürülecek değildir.

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

Parametreler

entityType
IConventionEntityType

Varlık türü.

property
IProperty

Dizini bulmak için özelliği.

Döndürülenler

IConventionIndex

Dizin veya hiçbiri bulunamazsa null.

Şunlara uygulanır