Provides data for the RowUpdated event. This class cannot be inherited.
Assembly: System.Data.OracleClient (in System.Data.OracleClient.dll)
|OracleRowUpdatedEventArgs(DataRow^, IDbCommand^, StatementType, DataTableMapping^)|
Initializes a new instance of theclass.
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.(Inherited from RowUpdatedEventArgs.)
Gets the number of rows processed in a batch of updated records.(Inherited from RowUpdatedEventArgs.)
Gets the type of SQL statement executed.(Inherited from RowUpdatedEventArgs.)
Copies references to the modified rows into the provided array.(Inherited from RowUpdatedEventArgs.)
Copies references to the modified rows into the provided array. (Inherited from RowUpdatedEventArgs.)
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=2status=0)
The RowUpdated event returns this output:
Event Arguments: (command= OracleCommend commandType=2 recordsAffected=1 row=System.Data.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.