Blacker.MangaScraper.Library.SQLite.SQLiteDALBase.CommitTransaction C# (CSharp) Method

CommitTransaction() protected method

protected CommitTransaction ( System.Data.SQLite.SQLiteTransaction transaction ) : void
transaction System.Data.SQLite.SQLiteTransaction
return void
        protected void CommitTransaction(SQLiteTransaction transaction)
        {
            try
            {
                transaction.Commit();
            }
            catch (Exception ex)
            {
                _log.Error("Unable to commit transaction.", ex);

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