首页 > 其他 > 详细

EF There is already an open DataReader associated with this Command

时间:2017-09-05 16:30:30      阅读:1547      评论:0      收藏:0      [点我收藏+]

捕捉到 System.InvalidOperationException
_HResult=-2146233079
_message=意外的连接状态。在使用包装提供程序时,请确保在已包装的 DbConnection 上实现 StateChange 事件。
HResult=-2146233079

 

解决参考:

https://stackoverflow.com/questions/4867602/entity-framework-there-is-already-an-open-datareader-associated-with-this-comma

https://stackoverflow.com/questions/20693216/there-is-already-an-open-datareader-associated-with-this-connection-which-must-b

EF There is already an open DataReader associated with this Command

原文:http://www.cnblogs.com/mschen/p/7479087.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!