Fired after a new row with an auto increment field is added to the database
The event handler receives an argument of type ProvideAutoIncrementIdCommandEventArgs containing data related to this event. The following ProvideAutoIncrementIdCommandEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AutoIncrementIdCmd | The command to retrieve the autoincrement ID, e.g. 'SELECT @@IDENTY AS PK' or 'SELECT SCOPE_IDENTITY() AS PK' |
| Connection | Open connection to the database. Must be assigned to the generated command |
| TableName | The table to provide the command for |
TableEditor Class | DVXP.DXTableEditor Namespace