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