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

Implement MySqlException.SqlState #848

Closed
roji opened this issue Jul 12, 2020 · 1 comment
Closed

Implement MySqlException.SqlState #848

roji opened this issue Jul 12, 2020 · 1 comment

Comments

@roji
Copy link

roji commented Jul 12, 2020

dotnet/runtime#35601 introduces DbException.SqlState for .NET 5.0, for standard 5-character error codes.

MySQL also implements SQLSTATE, as well as another, proprietary error code. SQLSTATE is already exposed on MySqlException, so this would simply be about cross-targeting to net5.0 and overriding DbException.SqlState.

@bgrainger
Copy link
Member

Implemented in caf7018 and shipped in 1.1.0.

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

No branches or pull requests

2 participants