Aracılığıyla paylaş


EntityTypeExtensions.GetRootType(IEntityType) Yöntem

Tanım

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

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

Parametreler

entityType
IEntityType

Kökünü bulmak için 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