RelationalEntityTypeExtensions.GetDefaultTableName Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per