Quantcast
Channel: MVC Core 2.0 EF Core SqlException: New transaction is not allowed because there are other threads running in the session - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by djangojazz for MVC Core 2.0 EF Core SqlException: New transaction...

I don't believe in dependency injection at all times do to something like this happening. While it is annoying you may be better served either doing everything in your repo or else closing and...

View Article



MVC Core 2.0 EF Core SqlException: New transaction is not allowed because...

There are a lot of threads for this issue but most seem to come up in the context of someone trying to loop and save on an IQueryable instead of an IList, which is not what I'm doing.I am having an...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images