[WebMethod (TransactionOption= TransactionOption.RequiresNew)] 要使用这个语句除了命名空间using System.EnterpriseServices;
外,还需要什么么??
为什么我的页面错了,不能显示
而把上面的[WebMethod (TransactionOption= TransactionOption.RequiresNew)]
改成(TransactionOption= TransactionOption.NotSupported)]
就可以了
只不过我需要RequiresNew 事务处理
外,还需要什么么??
为什么我的页面错了,不能显示
而把上面的[WebMethod (TransactionOption= TransactionOption.RequiresNew)]
改成(TransactionOption= TransactionOption.NotSupported)]
就可以了
只不过我需要RequiresNew 事务处理
以前还很多的