A time ago I wrote a post about enabling support for SqlServer Temporal tables in EF Core. Then it was EF Core 2.1. Let’s see what has changed during that time and what we can do today with EF Core 5 in terms of Temporal table support.
Although SQL Server Temporal Tables feature is not natively supported in Entity Framework Core, there is a way you can still use it together with EF Core. Read on to see how we can, quite nicely, integrate it with the Entity Framework.