public override void CompleteUow()
        {
            //GetAllActiveDbContexts().ForEach(SaveChangesInDbContext);

            //SaveChanges();

            if (Options.IsTransactional == true)
            {
                _transactionStrategy.Commit();
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// 提交事务
 /// </summary>
 private void CommitTransaction()
 {
     if (Options.IsTransactional == true)
     {
         _transactionStrategy.Commit();
     }
 }