Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Issue: Exceptions thrown in the [Table] annotation put the database in a bad state [717]

$
0
0
If an exception is thrown in the [Table] annotation when an application is run the database is created, but no metadata or tables are generated. In this situation we should either not create the database or delete it when we error out so that retry is more simple.
Comments: Exceptions thrown in conventions also create this situation

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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