Share via


TemporalTableBuilder.UseHistoryTable Method

Definition

Overloads

UseHistoryTable(String)

Configures a history table for the entity mapped to a temporal table.

UseHistoryTable(String, String)

Configures a history table for the entity mapped to a temporal table.

UseHistoryTable(String)

Source:
TemporalTableBuilder.cs
Source:
TemporalTableBuilder.cs
Source:
TemporalTableBuilder.cs
Source:
TemporalTableBuilder.cs

Configures a history table for the entity mapped to a temporal table.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder UseHistoryTable (string name);
abstract member UseHistoryTable : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder
override this.UseHistoryTable : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder
Public Overridable Function UseHistoryTable (name As String) As TemporalTableBuilder

Parameters

name
String

The name of the history table.

Returns

The same builder instance so that multiple calls can be chained.

Remarks

See Using SQL Server temporal tables with EF Core for more information and examples.

Applies to

UseHistoryTable(String, String)

Source:
TemporalTableBuilder.cs
Source:
TemporalTableBuilder.cs
Source:
TemporalTableBuilder.cs
Source:
TemporalTableBuilder.cs

Configures a history table for the entity mapped to a temporal table.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder UseHistoryTable (string name, string? schema);
abstract member UseHistoryTable : string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder
override this.UseHistoryTable : string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.TemporalTableBuilder
Public Overridable Function UseHistoryTable (name As String, schema As String) As TemporalTableBuilder

Parameters

name
String

The name of the history table.

schema
String

The schema of the history table.

Returns

The same builder instance so that multiple calls can be chained.

Remarks

See Using SQL Server temporal tables with EF Core for more information and examples.

Applies to