I have an MDF file that I\'m attaching to my local SQL server during testing with MSTEST and I don\'t want to have to go delete those temporary databases by hand after I\'ve
Here is how you do it using Entity Framework version 6
System.Data.Entity.Database.Delete(connectionString);