Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AndrewP-GH
Copy link

@AndrewP-GH AndrewP-GH commented Feb 9, 2021

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 AndrewP-GH changed the title fix #86 Fix Event-Exception: "Microsoft.Data.SqlClient.WriteCommandBefore" Feb 9, 2021
@AndrewP-GH
Copy link
Author

@cwe1ss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Event-Exception: "Microsoft.Data.SqlClient.WriteCommandBefore"
1 participant