Skip to content

About

Implementation of retry logic for SqlConnection and SqlCommand (mostly for Azure Sql)

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ReliableSql - implementation of retry logic for SqlConnection and SqlCommand for handling transient errors.

It works especially good with Dapper

Example usage:

Create an instance of ReliableSqlConnection:

var db = new ConnectionManager(connectionString);
var dbConnection = db.CreateConnection();

Select data with Dapper:

var db = new ConnectionManager(connectionString);
var users = default(List<User>);
db.Execute(cnn => users = cnn.Query<User>("SELECT * FROM Users").ToList());

About

Implementation of retry logic for SqlConnection and SqlCommand (mostly for Azure Sql)

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages