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.
-
Command
The
OracleCommand
executed during theUpdate
. -
Errors
(inherited fromRowUpdatingEventArgs
)The exception, if any, is generated during the
Update
. -
Row
(inherited fromRowUpdatingEventArgs
)The
DataRow
sent forUpdate
. -
StatementType
(inherited fromRowUpdatingEventArgs
)The type of SQL statement executed.
-
Status
(inherited fromRowUpdatingEventArgs
)The
UpdateStatus
of theCommand
. -
TableMapping
(inherited fromRowUpdatingEventArgs
)The
DataTableMapping
used during theUpdate
.
Example
The example for the RowUpdated
event also shows how to use the RowUpdating
event. See RowUpdated
event "Example".