MutableEntityTypeExtensions.RootType(IMutableEntityType) Methode

Definition

Achtung

Use GetRootType

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

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RootType (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
[System.Obsolete("Use GetRootType")]
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RootType (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member RootType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
[<System.Obsolete("Use GetRootType")>]
static member RootType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RootType (entityType As IMutableEntityType) As IMutableEntityType

Parameter

entityType
IMutableEntityType

Der Typ, von dem der Stamm gesucht werden soll.

Gibt zurück

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

Attribute

Gilt für: