| DataAccessConnectAdapter Method (DbDataAdapter, DbConnection, DbTransaction) | 
            Connect an adapter to a given database connection and return a new transaction handler if requested
            
 
Namespace: WorkflowGen.My.DataAssembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 2.4.0.0 (2.4.0.0)
Syntaxpublic void ConnectAdapter(
	DbDataAdapter adapter,
	DbConnection databaseConnection,
	DbTransaction transaction
)
Public Sub ConnectAdapter ( 
	adapter As DbDataAdapter,
	databaseConnection As DbConnection,
	transaction As DbTransaction
)
Parameters
- adapter
 - Type: System.Data.CommonDbDataAdapter
A data adapter - databaseConnection
 - Type: System.Data.CommonDbConnection
A database connection to be used by the adapter - transaction
 - Type: System.Data.CommonDbTransaction
The transaction associated with the given connection 
Return Value
Type: 
The transaction assigned to the adapter commands
See Also