OracleDataAdapter.RowUpdating Evento
Definição
Ocorre durante o Update(DataSet), após um comando ser executado com relação à fonte de dados.Occurs during Update(DataSet) before a command is executed against the data source.
public:
event System::Data::OracleClient::OracleRowUpdatingEventHandler ^ RowUpdating;
public event System.Data.OracleClient.OracleRowUpdatingEventHandler RowUpdating;
member this.RowUpdating : System.Data.OracleClient.OracleRowUpdatingEventHandler
Public Custom Event RowUpdating As OracleRowUpdatingEventHandler
Tipo de evento
Comentários
Ao usar o Update método, há dois eventos que ocorrem por linha de dados atualizadas.When using the Update method, there are two events that occur per data row updated. A ordem de execução é a seguinte:The order of execution is as follows:
Os valores no DataRow são movidos para os valores de parâmetro.The values in the DataRow are moved to the parameter values.
O
OnRowUpdatingevento é gerado.TheOnRowUpdatingevent is raised.O comando é executado.The command executes.
Se a
UpdateRowSourceEnumeração for definida comoFirstReturnedRecord, o primeiro resultado retornado será colocado na DataRow.If theUpdateRowSourceenumeration is set toFirstReturnedRecord, the first returned result is placed in the DataRow.Se houver parâmetros de saída, eles serão colocados na DataRow.If there are output parameters, they are placed in the DataRow.
O
OnRowUpdatedevento é gerado.TheOnRowUpdatedevent is raised.AcceptChangesé chamado.AcceptChangesis called.