Język

TemporalTableBuilder<TEntity>.UseHistoryTable Metoda

Definicja

Przeciążenia

Nazwisko Opis
UseHistoryTable(String)

Konfiguruje tabelę historii dla jednostki mapowanej na tabelę czasową.

UseHistoryTable(String, String)

Konfiguruje tabelę historii dla jednostki mapowanej na tabelę czasową.

UseHistoryTable(String)

Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs

Konfiguruje tabelę historii dla jednostki mapowanej na tabelę czasową.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<TEntity> UseHistoryTable(string name);
override this.UseHistoryTable : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function UseHistoryTable (name As String) As TemporalTableBuilder(Of TEntity)

Parametry

name
String

Nazwa tabeli historii.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Using SQL Server temporal tables with EF Core (Używanie tabel czasowych SQL Server za pomocą programu EF Core).

Dotyczy

UseHistoryTable(String, String)

Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs
Źródło:
TemporalTableBuilder`.cs

Konfiguruje tabelę historii dla jednostki mapowanej na tabelę czasową.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<TEntity> UseHistoryTable(string name, string? schema);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<TEntity> UseHistoryTable(string name, string? schema = default);
override this.UseHistoryTable : string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function UseHistoryTable (name As String, schema As String) As TemporalTableBuilder(Of TEntity)
Public Overridable Function UseHistoryTable (name As String, Optional schema As String = Nothing) As TemporalTableBuilder(Of TEntity)

Parametry

name
String

Nazwa tabeli historii.

schema
String

Schemat tabeli historii.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Using SQL Server temporal tables with EF Core (Używanie tabel czasowych SQL Server za pomocą programu EF Core).

Dotyczy