EF 3.0 要开启 数据库连接复用 MultipleActiveResultSets=true


/* EF 3.0 要开启 数据库连接复用 MultipleActiveResultSets=true
* 不然会报 The connection does not support MultipleActiveResultSets
* 还会造成后继查询超时(可能因为前一写入操作出异常事务无法提交造成)
* Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
* */


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM