[已解决]There is already an open DataReader associated with this Connection which mu
今天程序报错:There is already an open DataReader associated with this Connection which mu……解决方案:在报错方法之前使用了一个未释放的IQueryable类型,例如:dbContext.User.Where(x=>x.Age== 18);需要释放掉上面的DataReader,后面转ToList()即可。...
原创
2019-10-12 10:59:37 ·
12828 阅读 ·
3 评论