AccessCommandExecutionToken Constructor
Initializes a new instance of the CommandExecutionToken<(Of <(<'TCommand, TParameter>)>)> class.
Namespace:
Tortuga.Chain.AccessAssembly: Tortuga.Chain.Access (in Tortuga.Chain.Access.dll)
Syntax
public AccessCommandExecutionToken( ICommandDataSource<OleDbCommand, OleDbParameter> dataSource, string operationName, string commandText, IReadOnlyList<OleDbParameter> parameters, CommandType commandType )
Public Sub New ( _ dataSource As ICommandDataSource(Of OleDbCommand, OleDbParameter), _ operationName As String, _ commandText As String, _ parameters As IReadOnlyList(Of OleDbParameter), _ commandType As CommandType _ )
public: AccessCommandExecutionToken( ICommandDataSource<OleDbCommand^, OleDbParameter^>^ dataSource, String^ operationName, String^ commandText, IReadOnlyList<OleDbParameter^>^ parameters, CommandType^ commandType )
Parameters
- dataSource
- Type: Tortuga.Chain.DataSources..::..ICommandDataSource<(Of <(<'OleDbCommand, OleDbParameter>)>)>
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 <(<'OleDbParameter>)>)>
The parameters.
- commandType
- Type: CommandType
Type of the command.