SharpRush中的跨函数事务实现

 

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