Condividi tramite


EntityTypeExtensions.RootType(IEntityType) Metodo

Definizione

Attenzione

Use GetRootType

Ottiene il tipo di base radice per un determinato tipo di entità.

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

Parametri

entityType
IEntityType

Tipo di cui trovare la radice.

Restituisce

Tipo di base radice. Se il tipo di entità specificato non è un tipo derivato, viene restituito lo stesso tipo di entità.

Attributi

Si applica a