Class DBCommandExtensions
- Namespace
- Rinku
- Assembly
- Rinku.dll
Runs and reads a database command that the caller created.
public static class DBCommandExtensions
- Inheritance
-
DBCommandExtensions
- Inherited Members
Methods
GetCommand(DbConnection, DbTransaction?, int?)
Creates a command for the connection and applies the transaction and timeout.
public static DbCommand GetCommand(this DbConnection cnn, DbTransaction? transaction, int? timeout)
Parameters
cnnDbConnectiontransactionDbTransactiontimeoutint?
Returns
GetCommand(IDbConnection, IDbTransaction?, int?)
Creates a command for the connection and applies the transaction and timeout.
public static IDbCommand GetCommand(this IDbConnection cnn, IDbTransaction? transaction, int? timeout)
Parameters
cnnIDbConnectiontransactionIDbTransactiontimeoutint?