EntityCoreTFieldsOnAuditDeleteOfEntity Method |
Audits the successful delete of an entity from the database
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax protected virtual void OnAuditDeleteOfEntity()
Protected Overridable Sub OnAuditDeleteOfEntity
Remarks As the entity passed in was deleted succesfully, reading values from the passed in entity is only possible in this routine. After this call, the
state of the entity will be reset to Deleted again and reading the fields will result in an exception. It's also recommended not to reference
the passed in entity in any audit entity you might want to persist as the entity doesn't exist anymore in the database.
See Also