protected override void DisposeUow() { if (Options.IsTransactional == true) { _transactionStrategy.Dispose(IocResolver); } else { GetAllActiveDbContexts().ForEach(Release); } ActiveDbContexts.Clear(); }
protected override void DisposeUow() { if (Options.IsTransactional == true) { _transactionStrategy.Dispose(); } else { foreach (var dbContext in GetAllActiveDbContexts()) { Release(dbContext); } } ActiveDbContexts.Clear(); }