Transformations.Sql
3.1.0
dotnet add package Transformations.Sql --version 3.1.0
NuGet\Install-Package Transformations.Sql -Version 3.1.0
<PackageReference Include="Transformations.Sql" Version="3.1.0" />
<PackageVersion Include="Transformations.Sql" Version="3.1.0" />
<PackageReference Include="Transformations.Sql" />
paket add Transformations.Sql --version 3.1.0
#r "nuget: Transformations.Sql, 3.1.0"
#:package Transformations.Sql@3.1.0
#addin nuget:?package=Transformations.Sql&version=3.1.0
#tool nuget:?package=Transformations.Sql&version=3.1.0
Transformations.Sql
SQL Server transient fault classification, shared by the Transformations data packages. SqlTransientFaultDetector.IsTransient
tells you whether an exception is safe to retry. It is used by Transformations.Dapper and Transformations.EntityFramework.
using Transformations.Sql;
catch (Exception ex) when (SqlTransientFaultDetector.IsTransient(ex))
{
// retry
}
IsTransient returns true for a TimeoutException, or for a SqlException whose errors include a transient error number.
It looks through inner exceptions, so an exception wrapped by an ORM is classified by what it wraps. The error numbers are in
SqlTransientFaultDetector.GetTransientErrorNumbers(), and the Dapper README lists them.
SQLite and other providers have no entries. A busy database is not transient to this detector, so retry it explicitly if you need to.
License
PolyForm Strict 1.0.0 — Copyright © 2026 opentail.net
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Data.SqlClient (>= 7.1.1)
- System.Security.Cryptography.Pkcs (>= 9.0.21)
-
net8.0
- Microsoft.Data.SqlClient (>= 7.1.1)
- System.Security.Cryptography.Pkcs (>= 8.0.2)
-
net9.0
- Microsoft.Data.SqlClient (>= 7.1.1)
- System.Security.Cryptography.Pkcs (>= 9.0.21)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Transformations.Sql:
| Package | Downloads |
|---|---|
|
Transformations.Dapper
Dapper resilience extensions — async retry with transient SQL fault detection, powered by Transformations.Core. |
|
|
Transformations.EntityFramework
EF Core resilience extensions - async SaveChanges retry, ChangeTracker audit logging, and IQueryable CSV export, powered by Transformations.Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.