Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to run parallel queries in sql server with entity framework

EF doesn't support processing multiple requests through the same DbContext object.
If your second asynchronous request on the same DbContext instance starts before the first request finishes (and that's the whole point),
you'll get an error message that your request is processing against an open DataReader.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #parallel #queries #sql #server #entity #framework
ADD COMMENT
Topic
Name
2+7 =