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

            //SaveChanges();

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