Switching on auditing for an entity has the following effect:
- Fields are automatically added to the entity and to the generated standard details struct for the entity.
- Infrastructure data-access code automatically makes calls to the AuditMappings class to populate its fields whenever audit fields are being updated on the database.
The following operation stereotypes cause audit information to be set:
- modify;
- nsmodify;
- insert;
- nsinsert;
- nkmodify;
- batchinsert;
- batchmodify.