EF Core支持多线程并发吗
提问
EF Core支持多线程并发吗
回答
不支持
报错
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.