Sdílet prostřednictvím


MutableEntityTypeExtensions.GetRootType(IMutableEntityType) Metoda

Definice

Získá kořenový základní typ pro daný typ entity.

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

Parametry

entityType
IMutableEntityType

Typ entity.

Návraty

Základní typ kořene. Pokud daný typ entity není odvozeným typem, vrátí se stejný typ entity.

Platí pro