DbDataAdapter.CreateRowUpdatingEvent Método

Definição

Inicializa uma nova instância da RowUpdatingEventArgs classe.

protected:
 abstract System::Data::Common::RowUpdatingEventArgs ^ CreateRowUpdatingEvent(System::Data::DataRow ^ dataRow, System::Data::IDbCommand ^ command, System::Data::StatementType statementType, System::Data::Common::DataTableMapping ^ tableMapping);
protected:
 virtual System::Data::Common::RowUpdatingEventArgs ^ CreateRowUpdatingEvent(System::Data::DataRow ^ dataRow, System::Data::IDbCommand ^ command, System::Data::StatementType statementType, System::Data::Common::DataTableMapping ^ tableMapping);
protected abstract System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
protected virtual System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping);
abstract member CreateRowUpdatingEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatingEventArgs
abstract member CreateRowUpdatingEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatingEventArgs
override this.CreateRowUpdatingEvent : System.Data.DataRow * System.Data.IDbCommand * System.Data.StatementType * System.Data.Common.DataTableMapping -> System.Data.Common.RowUpdatingEventArgs
Protected MustOverride Function CreateRowUpdatingEvent (dataRow As DataRow, command As IDbCommand, statementType As StatementType, tableMapping As DataTableMapping) As RowUpdatingEventArgs
Protected Overridable Function CreateRowUpdatingEvent (dataRow As DataRow, command As IDbCommand, statementType As StatementType, tableMapping As DataTableMapping) As RowUpdatingEventArgs

Parâmetros

dataRow
DataRow

Depois DataRow , isso atualiza a fonte de dados.

command
IDbCommand

O IDbCommand para executar durante o Update(DataSet).

statementType
StatementType

Quer o comando seja uma instrução UPDATE, INSERT, DELETE ou SELECT.

tableMapping
DataTableMapping

Um objeto DataTableMapping.

Devoluções

Uma nova instância da RowUpdatingEventArgs classe.

Notas para Implementadores

Ao substituir CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) uma classe derivada, certifique-se de chamar o método da CreateRowUpdatingEvent(DataRow, IDbCommand, StatementType, DataTableMapping) classe base.

Aplica-se a

Ver também