For developer testing, I run a LocalDB version of my SQLServer database from Visual Studio 2013. I want to test what happens when this database becomes unreachable to my C# application running on the same machine - ideally debugging from VS. Specifically, becomes unreachable while the application is running, so I can "turn it on/of" without re-starting my application and check it handles this OK.
I can't see an obvious "stop DB" option within VS. I also don't know how the LocalDB instance is managed... if it only exists while VS is running for instance?
What way(s) are there to do what I want, with both DB and application running on the same machine and the DB hosted as LocalDB not through SQLServer (which I don't have installed)?