public ITransactionScope BeginTransaction() { RaiseDisposed(); if (IsOpenScope) { throw new MzLiteIOException("Illegal attempt transaction scope reentrancy."); } try { currentScope = new MzLiteSQLTransactionScope(this, connection); return(currentScope); } catch (Exception ex) { throw new MzLiteIOException(ex.Message, ex); } }
internal void ReleaseTransactionScope() { currentScope = null; }