title: Is it possible to restore a database at the end of every NUnit test?
body: <p>I'm writing a few UI automation test scripts using C#, NUnit and Selenium WebDriver. I would like to know if it's possible to restore the database at the end of each test (like via the TearDown method) and if so how I could achieve this. </p>
  
  <p>I tried following <a href="https://stackoverflow.com/questions/5818644/nunit-rollback-after-test">this</a> and <a href="http://xunitpatterns.com/Transaction%20Rollback%20Teardown.html" rel="nofollow noreferrer">this</a> but they didn't seem to work. I'm guessing this is because I'm not executing any database related operation from the test script itself?</p>