Udostępnij za pośrednictwem


IConventionEntityType.GetRootType Metoda

Definicja

Pobiera główny typ podstawowy dla tego typu jednostki.

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

Zwraca

Główny typ podstawowy. Jeśli ten typ jednostki nie jest typem pochodnym, zwracany jest ten sam typ jednostki.

Dotyczy