There is already an open DataReader associated with this 返回

SqlSugar 老数据
1 1402

There is already an open DataReader associated with this Connection which must be closed first。

这个怎么处理;

 IsAutoCloseConnection = true

自动释放,但同时在访问

热忱回答1

  • 如果用了dbAdoDataReader 需要手动dr.colose,如果没用到 基本是你线程安全问题

    参考这个贴子:http://www.donet5.com/Home/Doc?typeId=1224

    0 回复