6.9.6.2 RowUpdating
This event is raised when row data are about to be updated to the database.
Declaration
// C# public event OracleRowUpdatingEventHandler RowUpdating;
Event Data
The event handler receives an OracleRowUpdatingEventArgs object which exposes the following properties containing information about the event.
                  
- 
                        CommandThe OracleCommandexecuted during theUpdate.
- 
                        Errors(inherited fromRowUpdatingEventArgs)The exception, if any, is generated during the Update.
- 
                        Row(inherited fromRowUpdatingEventArgs)The DataRowsent forUpdate.
- 
                        StatementType(inherited fromRowUpdatingEventArgs)The type of SQL statement executed. 
- 
                        Status(inherited fromRowUpdatingEventArgs)The UpdateStatusof theCommand.
- 
                        TableMapping(inherited fromRowUpdatingEventArgs)The DataTableMappingused during theUpdate.
Example
The example for the RowUpdated event also shows how to use the RowUpdating event. See RowUpdated event "Example".