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

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