I\'m using Dapper 1.31 from Nuget. I have this very simple code snippet,
string connString = \"\"; string query = \"\"; int val = 0; CancellationTokenSource
I was using one SqlConnection for multiple threads. And then when I changed it so that each Thread created it's own SqlConnection the error disappeared.
SqlConnection
Thread