SQLiteCommandExecutionToken Constructor
Initializes a new instance of the CommandExecutionToken<(Of <(<'TCommand, TParameter>)>)> class.
Namespace:
Tortuga.Chain.SQLiteAssembly: Tortuga.Chain.SQLite (in Tortuga.Chain.SQLite.dll)
Syntax
public SQLiteCommandExecutionToken( ICommandDataSource<SQLiteCommand, SQLiteParameter> dataSource, string operationName, string commandText, IReadOnlyList<SQLiteParameter> parameters, CommandType commandType, LockType lockType )
Public Sub New ( _ dataSource As ICommandDataSource(Of SQLiteCommand, SQLiteParameter), _ operationName As String, _ commandText As String, _ parameters As IReadOnlyList(Of SQLiteParameter), _ commandType As CommandType, _ lockType As LockType _ )
public: SQLiteCommandExecutionToken( ICommandDataSource<SQLiteCommand^, SQLiteParameter^>^ dataSource, String^ operationName, String^ commandText, IReadOnlyList<SQLiteParameter^>^ parameters, CommandType^ commandType, LockType^ lockType )
Parameters
- dataSource
- Type: Tortuga.Chain.DataSources..::..ICommandDataSource<(Of <(<'SQLiteCommand, SQLiteParameter>)>)>
The data source.
- operationName
- Type: String
Name of the operation. This is used for logging.
- commandText
- Type: String
The SQL to be executed.
- parameters
- Type: IReadOnlyList<(Of <(<'SQLiteParameter>)>)>
The parameters.
- commandType
- Type: CommandType
Type of the command.
- lockType
- Type: Tortuga.Chain.SQLite..::..LockType
Type of the lock.