简体   繁体   中英

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM