Click or drag to resize

DataAccessExecuteUpdates Method (DbDataAdapter, DataSet, String, Boolean)

Updates the database with the changes contained into a given dataset

Namespace:  WorkflowGen.My.Data
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntax
public void ExecuteUpdates(
	DbDataAdapter adapter,
	DataSet updatedData,
	string tableIdentifier,
	bool useTransaction
)

Parameters

adapter
Type: System.Data.CommonDbDataAdapter
A data adapter to use to perform SQL operations
updatedData
Type: System.DataDataSet
A dataset containing changes
tableIdentifier
Type: SystemString
An identifier for the table to update
useTransaction
Type: SystemBoolean
Determines whether or not to begin a transaction
Remarks
If a global transaction is active for the current instance, the parameter useTransaction is ignored and the actions are performed in the scope of the global transaction
See Also