ConventionEntityTypeExtensions.GetRootType(IConventionEntityType) Methode

Definition

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

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

Parameter

entityType
IConventionEntityType

Der Entitätstyp.

Gibt zurück

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

Gilt für: