首页 > 技术文章 > 如果提示DbContext不支持并行多线程

duoe 2020-01-07 07:24 原文

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

推荐阅读