Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

SQL Server Database Project is rebuilding SYSTEM VERSION Table

$
0
0

We are using DB Project to manage our database and recently we introduce temporal technique to audit changes.

For management purpose in DB project we create the base table and history table separately. And we also use Entity Framework to help us( though I don't know what EF is doing).

After deployment, we will manually turn on all the SYSTEM VERSION in post deployment script.

So in this case, we have separate tables in DB project but system_version tables in our database.

This resulted in that, every time we publish, the engine will re-build all the tables.

So,

Is this possible to handle temporal tables within EF?

Or is it possible to handle separated temporal tables within DB project?

Thanks


Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>