Provides data for the RowUpdating event.
Assembly: System.Data.OracleClient (in System.Data.OracleClient.dll)
|OracleRowUpdatingEventArgs(DataRow^, IDbCommand^, StatementType, DataTableMapping^)|
Initializes a new instance of theclass.
Gets the type of SQL statement to execute.(Inherited from RowUpdatingEventArgs.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
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)
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.