Sdílet prostřednictvím


IConventionEntityType.GetRootType Metoda

Definice

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

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType GetRootType ();
abstract member GetRootType : unit -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
override this.GetRootType : unit -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Overridable Function GetRootType () As IConventionEntityType

Návraty

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

Platí pro