You are doing it REALLY wrong, the shortest code review ever

added by DotNetKicks
11/28/2017 2:00:38 PM

2 Kicks, 313 Views

Now, the session doesn't have thread affinity, which means that if you are calling it serially, you can certainly move it between threads. In fact, with async sessions, that happens quite often. So one would expect that locking on the session would provide sufficient protection for the session from concurrent use.