public void Dispose()
 {
     if (_transactionDepth == _server.TransactionDepth())
     {
         _server.RollBack();
     }
 }
 public TransactionManager(MigrationsServer server)
 {
     _server = server;
     server.BeingTransaction();
     _transactionDepth = _server.TransactionDepth();
 }