|
| | MySqlRepo (ILogger logger) |
| |
| override Task | PreCall (IDbConnection cnn, IDbTransaction trans) |
| | If you need to execute something before the main call More...
|
| |
| virtual Task | PostCall (IDbConnection cnn, IDbTransaction trans) |
| | If you need to execute something after the main call More...
|
| |
| | BaseRepo (ILogger logger) |
| |
| Task< int > | WriteSQLAsync (string sql, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| Task< int > | WriteSPAsync (string sp, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| async Task< bool > | WriteSQLAsBoolAsync (string sql, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| async Task< bool > | WriteSPAsBoolAsync (string sp, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| Task< int?> | WriteSQLTrappingExceptionsAsync (string sql, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| Task< int?> | WriteSPTrappingExceptionsAsync (string sp, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| async Task< bool?> | WriteSQLAsBoolTrappingExceptionsAsync (string sql, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| async Task< bool?> | WriteSPAsBoolTrappingExceptionsAsync (string sp, object parameters, IDbTransaction trans=null) |
| | Executes something against a database More...
|
| |
| Task< T > | ScalarSQLAsync< T > (string sql, object parameters, IDbTransaction trans=null) |
| | Executes something against a database that returns a single result More...
|
| |
| Task< T > | ScalarSPAsync< T > (string sp, object parameters, IDbTransaction trans=null) |
| | Executes something against a database that returns a single result More...
|
| |
| Task< T > | ScalarSQLTrappingExceptionsAsync< T > (string sql, object parameters, IDbTransaction trans=null) |
| | Executes something against a database that returns a single result More...
|
| |
| Task< T > | ScalarSPTrappingExceptionsAsync< T > (string sp, object parameters, IDbTransaction trans=null) |
| | Executes something against a database that returns a single result More...
|
| |
| Task< int?> | InsertAsync (string sql, object parameters, IDbTransaction trans=null) |
| | Inserts a record into the database More...
|
| |
| Task< int?> | InsertTrappingExceptionsAsync (string sql, object parameters, IDbTransaction trans=null) |
| | Inserts a record into the database More...
|
| |
| Task< int?> | InsertAsync (string sql, DatabaseIdentity identity, object parameters, IDbTransaction trans=null, bool trapExceptions=false) |
| | Inserts a record into the database More...
|
| |
| Task< T > | GetSQLAsync< T > (string sql, object parameters, IDbTransaction trans=null) |
| | Retrieves a single record from the database More...
|
| |
| Task< T > | GetSPAsync< T > (string sp, object parameters, IDbTransaction trans=null) |
| | Retrieves a single record from the database More...
|
| |
| Task< IEnumerable< T > > | GetListSQLAsync< T > (string sql, object parameters, IDbTransaction trans=null) |
| | Retrieves multiple records (0, 1, or more) from the database More...
|
| |
| Task< IEnumerable< T > > | GetListSPAsync< T > (string sp, object parameters, IDbTransaction trans=null) |
| | Retrieves multiple records (0, 1, or more) from the database More...
|
| |
| Task< bool > | ExistsAsync (string conditions, object parameters, IDbTransaction trans=null) |
| | Does an existence check against the database More...
|
| |
Inherit from this class to talk to a MySql database