如果提示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

posted @ 2020-01-07 07:24  永恒一生  阅读(683)  评论(0编辑  收藏  举报