Aracılığıyla paylaş


ConventionEntityTypeExtensions.FindIndex Yöntem

Tanım

Verilen özellikte tanımlanan adlandırılmamış dizini alır. Böyle bir dizin tanımlanmadıysa döndürür null .

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

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 özellik.

Döndürülenler

Dizin veya yoksa null.

Şunlara uygulanır