Blacker.MangaScraper.Library.SQLite.SQLiteDALBase.RollbackTransaction C# (CSharp) Méthode

RollbackTransaction() protected méthode

protected RollbackTransaction ( System.Data.SQLite.SQLiteTransaction transaction ) : void
transaction System.Data.SQLite.SQLiteTransaction
Résultat void
        protected void RollbackTransaction(SQLiteTransaction transaction)
        {
            try
            {
                transaction.Rollback();
            }
            catch (Exception ex)
            {
                _log.Error("Unable to rollback transaction.", ex);

                throw new StorageException("Unable to rollback transaction.", ex);
            }
        }