LINQ链接数据库出错(There is already an open DataReader associated with this Command which must be closed first )
摘要:
LINQ: There is already an open DataReader associated with this Command which must be closed first 在Linq to SQL和Entity Framework,使用Linq查询数据的时候会出现错误:There is already an open DataReader associated with this Command which must be closed first 。解决方案:在数据库连接串上添加MultipleActiveResultSets=true。 阅读全文
posted @ 2011-12-31 15:43
kenny jiang
阅读(281)
评论(0)
推荐(0)
浙公网安备 33010602011771号