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