Skip to content

Add SqlState and IsTransient to DbException - #39157

Merged
roji merged 1 commit into
dotnet:masterfrom
roji:DbExceptionApis
Jul 12, 2020
Merged

roji merged 1 commit into
dotnet:masterfrom
roji:DbExceptionApis

Conversation

@roji

@roji roji commented Jul 12, 2020

Copy link
Copy Markdown
Member

@Dotnet-GitSync-Bot

Copy link
Copy Markdown
Collaborator

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@ghost

ghost commented Jul 12, 2020

Copy link
Copy Markdown

Tagging subscribers to this area: @roji, @ajcvickers
Notify danmosemsft if you want to be subscribed.

@roji

roji commented Jul 12, 2020

Copy link
Copy Markdown
Member Author

Note: I still plan to look into a default implementation of IsTransient which recognizes certain standard values in SqlState - but am leaving that for later.

@roji
roji merged commit 1b8d1dc into dotnet:master Jul 12, 2020
@roji
roji deleted the DbExceptionApis branch July 12, 2020 21:20
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce SqlState on DbException for standard cross-database errors Database-agnostic way to detect transient database errors

4 participants