Skip to content

The concept of Temporal Tables, introduced in SQL Server 2016, refers to system-managed tables that store records in data change processes and are used for analysis of tabular data at different points in time. EF Core has gained the feature of supporting temporal tables with version 6.0.

License

Notifications You must be signed in to change notification settings

murataslan1/Temporal_Tables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temporal_Tables

SQL Server Temporal Tables The most requested feature for EF Core 6.0 was support for SQL Server temporal tables. As of RC1, temporal table support is now here!

SQL Server temporal tables automatically keep track of all the data ever stored in a table, even after that data has been updated or deleted. This is achieved by creating a parallel “history table” into which timestamped historical data is stored whenever a change is made to the main table. This allows historical data to be queried, such as for auditing, or restored, such as for recovery after accidental mutation or deletion.

EF Core 6.0 supports:

The creation of temporal tables using EF Core migrations Transformation of existing tables into temporal tables, again using migrations Querying historical data Restoring data from some point in the past

https://devblogs.microsoft.com/dotnet/prime-your-flux-capacitor-sql-server-temporal-tables-in-ef-core-6-0/

https://www.gencayyildiz.com/blog/entity-framework-core-temporal-tables-ile-calismak/

About

The concept of Temporal Tables, introduced in SQL Server 2016, refers to system-managed tables that store records in data change processes and are used for analysis of tabular data at different points in time. EF Core has gained the feature of supporting temporal tables with version 6.0.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages