Abp.EntityFramework.Uow.EfUnitOfWork.Release(System.Data.Entity.DbContext)

Here are the examples of the csharp api class Abp.EntityFramework.Uow.EfUnitOfWork.Release(System.Data.Entity.DbContext) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: aspnetboilerplate
Source File: EfUnitOfWork.cs
protected override void DisposeUow()
        {
            if (Options.IsTransactional == true)
            {
                _transactionStrategy.Dispose(IocResolver);
            }
            else
            {
                foreach (var activeDbContext in GetAllActiveDbContexts())
                {
                    Release(activeDbContext);
                }
            }

            ActiveDbContexts.Clear();
        }