SqlException: New transaction is not allowed because there are other threads running in the session.

本文发布于 8 年前,部分内容可能已经失去参考价值。

TIM图片20170522112717.png

问题出在使用 EF 时,foreach 了一个 DbSet<T>,加上 .ToList() 可以搞定。 

xoyozo 9 年前
转载请注明出处
可能相关的内容