ConventionEntityTypeExtensions.GetRootType(IConventionEntityType) Yöntem

Tanım

Verilen varlık türü için kök temel türü 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

IConventionEntityType

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