Udostępnij za pośrednictwem


SqlServerEntityTypeExtensions.SetHistoryTableSchema Metoda

Definicja

Przeciążenia

SetHistoryTableSchema(IMutableEntityType, String)

Ustawia wartość reprezentującą schemat tabeli historii skojarzonej z jednostką zamapowana na tabelę czasową.

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Ustawia wartość reprezentującą schemat tabeli historii skojarzonej z jednostką zamapowana na tabelę czasową.

SetHistoryTableSchema(IMutableEntityType, String)

Ustawia wartość reprezentującą schemat tabeli historii skojarzonej z jednostką zamapowana na tabelę czasową.

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 jednostki.

historyTableSchema
String

Wartość do ustawienia.

Dotyczy

SetHistoryTableSchema(IConventionEntityType, String, Boolean)

Ustawia wartość reprezentującą schemat tabeli historii skojarzonej z jednostką zamapowana na tabelę czasową.

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 jednostki.

historyTableSchema
String

Wartość do ustawienia.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Skonfigurowana wartość.

Dotyczy