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

Provide a RetryingExecutionStrategy that relies on the new DbException.IsTransient #21606

Open
roji opened this issue Jul 13, 2020 · 0 comments

Comments

@roji
Copy link
Member

roji commented Jul 13, 2020

Now that DbException.IsTransient has been merged into System.Data (dotnet/runtime#34817), we can now provide an execution strategy implementation which relies on it. Providers where the property is implemented should be able to just use this strategy as-is.

Note: since the property is only available in .NET 5.0, this isn't likely to be very useful until we drop support for previous versions.

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

No branches or pull requests

2 participants