Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: Migrations history table from sql generator

$
0
0
Hi cincura_net,

Your approach with the command tree is not horrible and is probably the best you can do right now.

Another thing to consider would be to provide a custom impl. of HistoryContext. This is the hook we added to allow providers to customize the history table model via a more standard OnModelCreating approach. Users need to register your custom history context type in their Migrations configuration.

Cheers,
Andrew.

Viewing all articles
Browse latest Browse all 1793

Trending Articles



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