You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Proposal] It should be possible to manually create SqlException #35
SqlException create methods are currently internal.
I would like some kind of create method to be public.
Rationale
Unit tests. There are various scenarios in which SqlException is handled differently than other kinds of exceptions, and being able to test those scenarios without actual database would be useful.
Is there any chance of this ticket being picked up at some point? I see it is still open, but no activity for years.
Thank you for maintaining the package!
Activity
divega commentedon May 16, 2019
As recently announced in the .NET Blog, focus on new SqlClient features an improvements is moving to the new Microsoft.Data.SqlClient package. For this reason, we are moving this issue to the new repo at https://github.com/dotnet/SqlClient. We will still use https://github.com/dotnet/corefx to track issues on other providers like System.Data.Odbc and System.Data.OleDB, and general ADO.NET and .NET data access issues.
MosheSteinberg commentedon Aug 3, 2026
Is there any chance of this ticket being picked up at some point? I see it is still open, but no activity for years.
Thank you for maintaining the package!
priyankatiwari08 commentedon Sep 17, 2026
/triage
MosheSteinberg commentedon Sep 29, 2026
That attempt to call a triage command didn't succeed