You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how i can use DbContextScope with Paralle.Foreach
because i was not able to use it correctly . and this exception thrown every time.
"The context cannot be used while the model is being created. This exception may be thrown if the context is used inside the OnModelCreating method or if the same context instance is accessed by multiple threads concurrently. Note that instance members of DbContext and related classes are not guaranteed to be thread safe."
The text was updated successfully, but these errors were encountered:
how i can use DbContextScope with Paralle.Foreach
because i was not able to use it correctly . and this exception thrown every time.
"The context cannot be used while the model is being created. This exception may be thrown if the context is used inside the OnModelCreating method or if the same context instance is accessed by multiple threads concurrently. Note that instance members of DbContext and related classes are not guaranteed to be thread safe."
The text was updated successfully, but these errors were encountered: