如果提示DbContext不支持并行多线程

时间:2020-01-07 10:59:50   收藏:0   阅读:680

A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext. For more information on how to avoid threading issues with DbContext

如果提示DbContext不支持并行多线程,那么你看看是否有该await的地方,没有await

原文:https://www.cnblogs.com/duoe/p/12159463.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!