LINQ: There is already an open DataReader associated with this Command which must be closed first
来源:互联网 发布:微信运动 数据来源 编辑:程序博客网 时间:2024/05/15 00:05
在Linq to SQL和Entity Framework,使用Linq查询数据的时候会出现错误:There is already an open DataReader associated with this Command which must be closed first 。
解决方案:
在数据库连接串上添加MultipleActiveResultSets=true。
Fixing the "There is already an open DataReader associated with this Command which must be closed first." exception in Entity Framework
- LINQ: There is already an open DataReader associated with this Command which must be closed first
- 解决"There is already an open DataReader associated with this Command which must be closed first."
- EF "There is already an open DataReader associated with this Command which must be closed first."
- There is already an open DataReader associated with this Connection which must be closed first
- There is already an open DataReader associated with this Connection which must be closed first
- There is already an open DataReader associated with this Connection which must be closed first
- There is already an open DataReader associated with this Command which must be closed first的错误解决办法
- C#数据库操作错误:There is already an open DataReader associated with this Connection which must be closed..
- 一例发生在cshtml页面中的There is already an open DataReader associated with this Command which must be closed
- C# 数据库 There is already an open DataReader associated with this Command which must b
- There is already an open datareader associated with this command引发的问题
- There is already an open DataReader associated with this Command (十)
- There is already an open DataReader associated ……
- There are unrecoverable errors which must be corrected first
- as导入eclipse项目出现There are unrecoverable errors which must be corrected first
- This file is already open in an editor
- Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' charac
- Graphic is already associated with another layer
- C++箴言:谨慎使用私有继承
- DLINQ:SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
- ASP.NET MVC Code and Slides for Best of Mix 09 Presentation
- Quartz.NET 1.0.1发布
- SQL Server 2008 Developer Training Kit
- LINQ: There is already an open DataReader associated with this Command which must be closed first
- 基于Windows CE的嵌入式Java解决方案
- 1.6模拟器上SD card的支持
- 使用Google CDN服务提供的jQuery库
- AWT,SWT&SWING
- ASP.NET开发人员需要学习ASP.NET MVC么?
- 微软裁员和.NET的开源
- mod_mono Configurator
- Windows SharePoint Services 3.0 Service Pack 2