title: What does a TransactionScope really do
body: <p>Looking into it I verified that for example the value o "myInt" is not rolledback in the following scenario</p>
  
  <pre><code>int myInt = 10;
  using (TransactionScope scope = new TransactionScope(TransactionScopeOption.RequiresNew))
  {
      myInt=20;
      Transaction t = Transaction.Current;
  
      t.Rollback();
  }
  </code></pre>
  
  <p>So it got me thinking "Does a TransactionScope only rollback activities related to the database? Or there are other things that the Transaction can manage and I'm unware of those?"</p>