本地事务

1.本地事务

using System.Transactions; 



using (var ts = new TransactionScope(TransactionScopeOption.RequiresNew, new TransactionOptions { IsolationLevel = IsolationLevel.ReadCommitted }))
            {
... ts.Complete(); }
原文地址:https://www.cnblogs.com/zhshlimi/p/7505330.html