In my application I receive the following error:
The context cannot be used while the model is being created.
I\'m not sure what
I was able to resolve this issue by adding
MultipleActiveResultSets=true
to the my EF connection string.
I fixed it by adding this multiple thread connection parameter.