Exemplo n.º 1
0
 public void Rollback()
 {
     if (Finished)
     {
         throw new InvalidOperationException("Transaction was already closed");
     }
     Finished = true;
     Manager.Rollback(DatabaseQuery);
 }