DbDataAdapter.CreateRowUpdatedEvent Metodo

Definizione

Inizializza una nuova istanza della classe RowUpdatedEventArgs.

protected:
 abstract 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);
protected abstract 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
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
Protected MustOverride Function CreateRowUpdatedEvent (dataRow As DataRow, command As IDbCommand, statementType As StatementType, tableMapping As DataTableMapping) As RowUpdatedEventArgs
Protected Overridable Function CreateRowUpdatedEvent (dataRow As DataRow, command As IDbCommand, statementType As StatementType, tableMapping As DataTableMapping) As RowUpdatedEventArgs

Parametri

dataRow
DataRow

Oggetto DataRow utilizzato per aggiornare l'origine dati.

command
IDbCommand

Oggetto IDbCommand eseguito durante l'oggetto Update(DataSet).

statementType
StatementType

Indica se il comando è un'istruzione UPDATE, INSERT, DELETE o SELECT.

tableMapping
DataTableMapping

Un oggetto DataTableMapping.

Valori restituiti

Nuova istanza della classe RowUpdatedEventArgs.

Note per gli implementatori

Quando si esegue l'override CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) in una classe derivata, assicurarsi di chiamare il metodo della classe di CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) base.

Si applica a

Vedi anche