Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42220

[RESOLVED] Entity Framework and threading

$
0
0
Hi Folks

Im just getting started with EF (with SQL server) and threading.

My question is about how I should access the context for threads that work with the context?

Should I create a new context per thread or create one and lock on it from each thread that needs to use the context?

Thanks :)

Viewing all articles
Browse latest Browse all 42220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>