本地事务

1.本地事务

using System.Transactions; 



using (var ts = new TransactionScope(TransactionScopeOption.RequiresNew, new TransactionOptions { IsolationLevel = IsolationLevel.ReadCommitted }))
            {
... ts.Complete(); }

 

posted @ 2017-09-11 15:48  zslm___  阅读(127)  评论(0编辑  收藏  举报