public static void UpdateTable(
DataSet updatingDataset,
DbConnection connection,
DbTransaction transaction,
DbDataAdapter dataAdapter,
DbCommandBuilder cmdBuilder,
string tableName,
bool ignoreConcurrencyExceptions,
bool supportInsert,
bool supportUpdate,
bool supportDelete
)
updatingDataset
The System.Data.DataSet which contains the System.Data.DataTable to update.
connection
The System.Data.Common.DbConnection to use to connect to the database.
transaction
The System.Data.Common.DbTransaction to use when updating the changes into the database.
dataAdapter
The System.Data.Common.DbDataAdapter which corresponds to the same type of the database provider.
cmdBuilder
The System.Data.Common.DbCommandBuilder to be used for building the Insert, Update and Delete commands.
tableName
The name of the System.Data.DataTable which will be updated into the database.
ignoreConcurrencyExceptions
true to ignore System.Data.DBConcurrencyException exceptions while updating the database and continue the update.
supportInsert
true to create an Insert command which will insert all the new rows in the referenced System.Data.DataTable.
supportUpdate
true to create an Update command which will update all the modified rows in the referenced System.Data.DataTable.
supportDelete
true to create a Delete command which will delete all the removed rows in the referenced System.Data.DataTable.