Condividi tramite


SqlServerEntityTypeExtensions.SetHistoryTableSchema Metodo

Definizione

Overload

SetHistoryTableSchema(IMutableEntityType, String)

Imposta un valore che rappresenta lo schema della tabella di cronologia associata all'entità mappata a una tabella temporale.

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Imposta un valore che rappresenta lo schema della tabella di cronologia associata all'entità mappata a una tabella temporale.

SetHistoryTableSchema(IMutableEntityType, String)

Imposta un valore che rappresenta lo schema della tabella di cronologia associata all'entità mappata a una tabella temporale.

public static void SetHistoryTableSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string? historyTableSchema);
static member SetHistoryTableSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> unit
<Extension()>
Public Sub SetHistoryTableSchema (entityType As IMutableEntityType, historyTableSchema As String)

Parametri

entityType
IMutableEntityType

Tipo di entità.

historyTableSchema
String

Il valore da impostare.

Si applica a

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Imposta un valore che rappresenta lo schema della tabella di cronologia associata all'entità mappata a una tabella temporale.

public static string? SetHistoryTableSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string? historyTableSchema, bool fromDataAnnotation = false);
static member SetHistoryTableSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string * bool -> string
<Extension()>
Public Function SetHistoryTableSchema (entityType As IConventionEntityType, historyTableSchema As String, Optional fromDataAnnotation As Boolean = false) As String

Parametri

entityType
IConventionEntityType

Tipo di entità.

historyTableSchema
String

Il valore da impostare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata usando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a