Aracılığıyla paylaş


ConventionEntityTypeExtensions.GetRootType(IConventionEntityType) Yöntem

Tanım

Belirli bir varlık türü için kök temel türünü alır.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetRootType (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetRootType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function GetRootType (entityType As IConventionEntityType) As IConventionEntityType

Parametreler

entityType
IConventionEntityType

Varlık türü.

Döndürülenler

Kök temel türü. Verilen varlık türü türetilmiş bir tür değilse, aynı varlık türü döndürülür.

Şunlara uygulanır