Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.Dal.SqlTransaction Class Reference
Inheritance diagram for Sphyrnidae.Common.Dal.SqlTransaction:
Sphyrnidae.Common.Dal.Transaction< SqlConnection >

Additional Inherited Members

- Static Public Member Functions inherited from Sphyrnidae.Common.Dal.Transaction< SqlConnection >
static Task< T > Distributed< T > (ILogger logger, Func< Task< TransactionResponse< T >>> method)
 Wrapper for multiple Sql calls across multiple databases within a transaction More...
 
static Task< T > Distributed< T > (ILogger logger, Func< Task< TransactionResponse< T >>> method, T defaultValue)
 Wrapper for multiple Sql calls across multiple databases within a transaction More...
 
static async Task< T > Distributed< T > (ILogger logger, Func< Task< TransactionResponse< T >>> method, Func< Exception, T, T > exceptionMethod, T defaultValue=default)
 Wrapper for multiple Sql calls across multiple databases within a transaction More...
 
static Task< T > Run< T > (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse< T >>> method)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static Task< T > Run< T > (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse< T >>> method, T defaultValue)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static Task< T > Run< T > (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse< T >>> method, IsolationLevel isolation)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static Task< T > Run< T > (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse< T >>> method, IsolationLevel isolation, T defaultValue)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static Task< T > Run< T > (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse< T >>> method, Func< Exception, T, T > exceptionMethod, T defaultValue=default)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static async Task< T > Run< T > (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse< T >>> method, IsolationLevel isolation, Func< Exception, T, T > exceptionMethod, T defaultValue=default)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static async Task< bool > Distributed (ILogger logger, Func< Task< TransactionResponse >> method, Func< Exception, bool > exceptionMethod=null)
 Wrapper for multiple Sql calls across multiple databases within a transaction More...
 
static Task< bool > Run (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse >> method, Func< Exception, bool > exceptionMethod=null)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static Task< bool > Run (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse >> method, IsolationLevel isolation)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static async Task< bool > Run (ILogger logger, string cnnStr, Func< IDbTransaction, Task< TransactionResponse >> method, IsolationLevel isolation, Func< Exception, bool > exceptionMethod)
 Wrapper for multiple Sql calls (Single database) within a transaction More...
 
static bool ExceptionRethrow (Exception ex)
 Use this method as parameter for Sql().exceptionMethod More...
 
static T ExceptionDefaultVal< T > (Exception ex, T defaultValue)
 Use this method as parameter for Sql().exceptionMethod More...
 
static T ExceptionRethrow< T > (Exception ex, T defaultValue)
 Use this method as parameter for Sql().exceptionMethod More...
 

The documentation for this class was generated from the following file: