The event handler receives an argument of type PgSqlRowUpdatedEventArgs containing data related to this event. The following PgSqlRowUpdatedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Command | Gets the PgSqlCommand 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) |
The event handler receives an argument of type PgSqlRowUpdatedEventArgs containing data related to this event. The following PgSqlRowUpdatedEventArgs 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.FirstReturnedRecord, 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.