Condividi tramite


RelationalEntityTypeExtensions.GetDefaultTableName Metodo

Definizione

Overload

GetDefaultTableName(IReadOnlyEntityType, Boolean)

Restituisce il nome di tabella predefinito che verrebbe usato per questo tipo di entità.

GetDefaultTableName(IEntityType)

Restituisce il nome di tabella predefinito che verrebbe usato per questo tipo di entità.

GetDefaultTableName(IEntityType, Boolean)

Restituisce il nome di tabella predefinito che verrebbe usato per questo tipo di entità.

GetDefaultTableName(IReadOnlyEntityType, Boolean)

Restituisce il nome di tabella predefinito che verrebbe usato per questo tipo di entità.

public static string? GetDefaultTableName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, bool truncate = true);
static member GetDefaultTableName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * bool -> string
<Extension()>
Public Function GetDefaultTableName (entityType As IReadOnlyEntityType, Optional truncate As Boolean = true) As String

Parametri

entityType
IReadOnlyEntityType

Tipo di entità per cui ottenere il nome della tabella.

truncate
Boolean

Valore che indica se il nome deve essere troncato alla lunghezza massima dell'identificatore.

Restituisce

Nome predefinito della tabella a cui verrà mappato il tipo di entità.

Si applica a

GetDefaultTableName(IEntityType)

Restituisce il nome di tabella predefinito che verrebbe usato per questo tipo di entità.

public static string GetDefaultTableName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDefaultTableName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetDefaultTableName (entityType As IEntityType) As String

Parametri

entityType
IEntityType

Tipo di entità per cui ottenere il nome della tabella.

Restituisce

Nome predefinito della tabella a cui verrà mappato il tipo di entità.

Si applica a

GetDefaultTableName(IEntityType, Boolean)

Restituisce il nome di tabella predefinito che verrebbe usato per questo tipo di entità.

public static string GetDefaultTableName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, bool truncate = true);
static member GetDefaultTableName : Microsoft.EntityFrameworkCore.Metadata.IEntityType * bool -> string
<Extension()>
Public Function GetDefaultTableName (entityType As IEntityType, Optional truncate As Boolean = true) As String

Parametri

entityType
IEntityType

Tipo di entità per cui ottenere il nome della tabella.

truncate
Boolean

Valore che indica se il nome deve essere troncato alla lunghezza massima dell'identificatore.

Restituisce

Nome predefinito della tabella a cui verrà mappato il tipo di entità.

Si applica a