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

Can the SqlServerTransientExceptionDetector be moved to System.Data.SqlClient? #13665

Closed
avantida opened this issue Oct 18, 2018 · 2 comments
Closed

Comments

@avantida
Copy link

avantida commented Oct 18, 2018

The SqlServerTransientExceptionDetector class is really handy to detect if a Sql operation needs to be retried while building anything based on a SqlConnection.
It basically is the core component driving the SqlServerRetryingExecutionStrategy of .NET EF Core. (which used to be the AzureSqlExecutionStrategy in EF)

This logic is sort of replicated also in the Enterprise Library Transient Fault Handling Application Block and then again even in the Elastic database tools for Azure SQL Database

Moving this code 'upstream' would aid a lot to enable reliable operation with Azure Sql with any of the SQL compatible .NET Core Data Access tools out there.

Today we're not falling in the pit of success to run our code on Azure. (We're using Dapper @NickCraver )

@divega
Copy link
Contributor

divega commented Oct 23, 2018

This issue was moved to dotnet/corefx#32993

@avantida
Copy link
Author

avantida commented Sep 7, 2020

Tracking... dotnet/SqlClient#649

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
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

3 participants