public void Dispose() { this.TransactionContext.executionVersionNesting--; if (this.TransactionContext.executionVersionNesting == 0) { this.OnFinished(); } } }