Provides data for the RowUpdating event.
Assembly: System.Data.OracleClient (in System.Data.OracleClient.dll)
When using Update, there are two events that occur for each data row updated. The order of execution is as follows:
The values in the DataRow are moved to the parameter values.
The OnRowUpdating event is raised.
The command executes.
If the command is set to FirstReturnedRecord, the first returned result is placed in the DataRow.
If there are output parameters, they are placed in the DataRow.
The OnRowUpdated event is raised.
AcceptChanges is called.
The RowUpdating event returns this output:
Event Arguments: (command=OracleCommand commandType=2 status=0)
The RowUpdated event returns this output:
Event Arguments: (command=OracleCommand commandType=2 recordsAffected=1 row=DataRow status=0)
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98