chinna
chinna

Reputation: 89

Is it possible to create a temporal table in SQL Server 2016 using Entity Framework code-first technique?

I have a requirement to create a temporal table using Entity Framework code-first. For that I searched so many links but I didn't find any information from those links. Is it possible to create a temporal tables using Entity Framework code-first technique?

Upvotes: 4

Views: 1360

Answers (1)

Edward Brey
Edward Brey

Reputation: 41638

Native EF support is still on the to do list. For now, I would have EF create it as a normal table, and then in the EF migration, add custom SQL to convert the table to be temporal.

Upvotes: 3

Related Questions