I want to close the existing connections to an SQL Server so that I can do a restore on that database. I am using the entity framework. I tried executing...alter database YourDb
set single_user with rollback immediate
...but then I get an exception sayi...