Make ADO.NET (and EntityFramework) release a database
I'm creating and dropping databases on the fly for some integration tests. I'm doing all the database management at the ADO.NET level. For the tests I'm using Entity Framework because the entities is one part of what I am testing. The problem is that after I do this: using (ProjectEntities db = new ProjectEntities(cs)) { } I cannot dr...