Entity Framework 6: Taming the Open Connection Conundrum

Here’s an Entity Framework scenario for you: You’re using Entity Framework 6. Check. You’re using a custom database initializer to init your DEV and TEST databases. Specifically the DropCreateDatabaseAlways initializer. Yup, that’s me. Your project contains 1 or more Unit Test projects that utilize the above. Do you have a unit test project? Say yes. … Continued