SharpRush中的跨函数事务实现

 

using(TransactionContext context=TransactionContext.Instance())
            
{
                
                CustomerEntity customer 
= new CustomerEntity(cutomerGuid);
                customer.CustomerName
="test";
                customer.Save();
        }
posted @ 2005-08-16 16:17  Martin XJ  阅读(921)  评论(0编辑  收藏  举报