How do I allow the EF4 CodeFirst database initializer to run under development, but not run in production

后端 未结 5 657
有刺的猬
有刺的猬 2021-01-01 07:06

I am attempting to deploy my first alpha version of a system online for a few people to start using. On development I make heavy use of the DropCreateDatabaseOnModelC

5条回答
提交回复
热议问题