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