时间:2021-07-01 10:21:17 帮助过:8人阅读
去掉enlist=false标识,TransactionScope事务才能生效:
<add name="myDB" connectionString="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1) (PORT=1521)))(CONNECT_DATA=(SERVICE_NAME= Orcl)));User Id=vinson; Password=vinson;Unicode=True;" providerName="System.Data.OracleClient"/>
.Net Oracle TransactionScope的使用
标签:事务 code image bsp span 数据 protoc tran user