IReadOnlyEntityType.GetRootType Methode

Definition

Ruft den Stammbasistyp für einen bestimmten Entitätstyp ab.

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

Gibt zurück

Der Stammbasistyp. Wenn der angegebene Entitätstyp kein abgeleiteter Typ ist, wird derselbe Entitätstyp zurückgegeben.

Gilt für: