Sdílet prostřednictvím


SqlServerEntityTypeExtensions.SetHistoryTableSchema Metoda

Definice

Přetížení

SetHistoryTableSchema(IMutableEntityType, String)

Nastaví hodnotu představující schéma tabulky historie přidružené k entitě namapované na dočasnou tabulku.

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Nastaví hodnotu představující schéma tabulky historie přidružené k entitě namapované na dočasnou tabulku.

SetHistoryTableSchema(IMutableEntityType, String)

Nastaví hodnotu představující schéma tabulky historie přidružené k entitě namapované na dočasnou tabulku.

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)

Parametry

entityType
IMutableEntityType

Typ entity.

historyTableSchema
String

Hodnota k nastavení.

Platí pro

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Nastaví hodnotu představující schéma tabulky historie přidružené k entitě namapované na dočasnou tabulku.

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

Parametry

entityType
IConventionEntityType

Typ entity.

historyTableSchema
String

Hodnota k nastavení.

fromDataAnnotation
Boolean

Určuje, zda byla konfigurace zadána pomocí datové poznámky.

Návraty

Nakonfigurovaná hodnota.

Platí pro