Executes the respective command for each inserted, updated, or deleted row in the DataSet.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual void UpdateDataset(
IDbCommand insertCommand,
IDbCommand deleteCommand,
IDbCommand updateCommand,
DataSet dataSet,
string tableName
) |
Visual Basic |
---|
Public Overridable Sub UpdateDataset (
insertCommand As IDbCommand,
deleteCommand As IDbCommand,
updateCommand As IDbCommand,
dataSet As DataSet,
tableName As String
) |
Examples
| Copy |
---|
helper.UpdateDataset(conn, insertCommand, deleteCommand, updateCommand, dataSet, "Order"); |
See Also