DbDataAdapter.CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) DbDataAdapter.CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) DbDataAdapter.CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) Method

Définition

Initialise une nouvelle instance de la classe RowUpdatedEventArgs.Initializes a new instance of the RowUpdatedEventArgs class.

protected:
 virtual System::Data::Common::RowUpdatedEventArgs ^ CreateRowUpdatedEvent(System::Data::DataRow ^ dataRow, System::Data::IDbCommand ^ command, System::Data::StatementType statementType, System::Data::Common::DataTableMapping ^ tableMapping);
protected virtual System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent (System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
abstract member CreateRowUpdatedEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatedEventArgs
override this.CreateRowUpdatedEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatedEventArgs

Paramètres

dataRow
DataRow DataRow DataRow

Le DataRow utilisé pour mettre à jour la source de données.The DataRow used to update the data source.

command
IDbCommand IDbCommand IDbCommand

Le IDbCommand exécutée pendant la Update(DataSet).The IDbCommand executed during the Update(DataSet).

statementType
StatementType StatementType StatementType

Si la commande est une mise à jour, insérer, supprimer ou instruction SELECT.Whether the command is an UPDATE, INSERT, DELETE, or SELECT statement.

Retours

Nouvelle instance de la classe RowUpdatedEventArgs.A new instance of the RowUpdatedEventArgs class.

Notes pour les héritiers

Lors de la substitution CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) dans une classe dérivée, veillez à appeler la classe de base CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) (méthode).When overriding CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) in a derived class, be sure to call the base class's CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) method.

S’applique à

Voir aussi