'Declaration Public Event RowUpdated As MagentoRowUpdatedEventHandler |
public event MagentoRowUpdatedEventHandler RowUpdated |
Event Data
The event handler receives an argument of type MagentoRowUpdatedEventArgs containing data related to this event. The following MagentoRowUpdatedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Command | Gets the MagentoCommand executed when System.Data.Common.DbDataAdapter.Update() is called. |
| Errors | (Inherited from System.Data.Common.RowUpdatedEventArgs) |
| RecordsAffected | (Inherited from System.Data.Common.RowUpdatedEventArgs) |
| Row | (Inherited from System.Data.Common.RowUpdatedEventArgs) |
| RowCount | (Inherited from System.Data.Common.RowUpdatedEventArgs) |
| StatementType | (Inherited from System.Data.Common.RowUpdatedEventArgs) |
| Status | (Inherited from System.Data.Common.RowUpdatedEventArgs) |
| TableMapping | (Inherited from System.Data.Common.RowUpdatedEventArgs) |
Remarks
The event handler receives an argument of type MagentoRowUpdatedEventArgs containing data related to this event. The following MagentoRowUpdatedEventArgs properties provide information specific to this event.
When using the System.Data.Common.DbDataAdapter.Update(System.Data.DataSet) method, there are two events that occur per data row updated. The order of execution is as follows:
- The values in the System.Data.DataRow are moved to the parameter values.
- The RowUpdating event is raised.
- The command executes.
- If the System.Data.UpdateRowSource enumeration is set to System.Data.UpdateRowSource.FirstReturnedRecordS, the first returned result is placed in the System.Data.DataRow.
- If there are output parameters, they are placed in the System.Data.DataRow.
- The RowUpdated event is raised.
- System.Data.DataRow.AcceptChanges is called.
See Also