csharp-netcore icon indicating copy to clipboard operation
csharp-netcore copied to clipboard

Fix Event-Exception: "Microsoft.Data.SqlClient.WriteCommandBefore"

Open AndrewP-GH opened this issue 4 years ago • 1 comments

Fix #86: I found that the reason for the exception was the race condition in PropertyFetcher when we store fetcher in the static field.

What do you think of this solution?

P.S. I've also replaced Activator.CreateInstance with Expression.New for better performance

AndrewP-GH avatar Feb 09 '21 21:02 AndrewP-GH

@cwe1ss

AndrewP-GH avatar Feb 09 '21 21:02 AndrewP-GH