Partilhar via


DbDataAdapter.CreateRowUpdatedEvent Método

Definição

Inicializa uma nova instância da classe RowUpdatedEventArgs.

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

Parâmetros

dataRow
DataRow

O DataRow usado para atualizar a fonte de dados.

command
IDbCommand

O IDbCommand executado durante o Update(DataSet).

statementType
StatementType

Se o comando é uma instrução UPDATE, INSERT, DELETE ou SELECT.

tableMapping
DataTableMapping

Um objeto DataTableMapping.

Retornos

Uma nova instância da classe RowUpdatedEventArgs.

Notas aos Implementadores

Ao substituir CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) em uma classe derivada, chame o método da CreateRowUpdatedEvent(DataRow, IDbCommand, StatementType, DataTableMapping) classe base.

Aplica-se a

Confira também