Exemplo n.º 1
0
 public void Commit()
 {
     try
     {
         SQLiteManager.ExecuteCommandsInTransaction(
             this.dataBasePath,
             this.commitCommands);
     }
     catch (Exception e)
     {
         throw new CommitException(e.Message);
     }
 }
Exemplo n.º 2
0
 public void Rollback()
 {
     try
     {
         SQLiteManager.ExecuteCommandsInTransaction(
             this.dataBasePath,
             this.rollbackCommands);
     }
     catch (Exception e)
     {
         throw new RollbackException(e.Message);
     }
 }