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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章