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

New Post: Ability to determine if the context has any pending changes.

$
0
0
When I refactor code, sometimes I can't keep track of whether or not I made changes to an item in my context. To resolve this, I usually add a dummy migration
add-migration IsThereAnything
and if it comes back empty, I know I don't have any pending migrations and I can delete the IsThereAnything migration file. Is there a more streamlined method to do this? And if not, could a command be added that simply displays in the Package Manager Console which changes are pending?

Viewing all articles
Browse latest Browse all 1793

Trending Articles



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