OwnedNavigationTemporalTableBuilder.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:
OwnedNavigationTemporalTableBuilder.cs
Source:
OwnedNavigationTemporalTableBuilder.cs
Source:
OwnedNavigationTemporalTableBuilder.cs

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

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder UseHistoryTable (string name);

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.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 7.0, 8.0, 9.0

UseHistoryTable(String, String)

Source:
OwnedNavigationTemporalTableBuilder.cs
Source:
OwnedNavigationTemporalTableBuilder.cs
Source:
OwnedNavigationTemporalTableBuilder.cs

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

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTemporalTableBuilder UseHistoryTable (string name, string? schema);

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.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 7.0, 8.0, 9.0