I\'m building what could be called the DAL for a new app. Unfortunately, network connectivity to the database is a real problem.
I\'d like to be able to temporarily
Try blocking the connection with a firewall midway through the session maybe?
I like the wrapper idea as well, but thats kind of abstracting the problem and you prolly might not get exact real world behavior. Also, inserting the wrapper layer and then removing it may be more trouble than its worth.
Edit: Run a script that turns the Network adapter on/off randomly or at set intervals?