Click or drag to resize
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.3.0)
protected virtual void OnAuditDeleteOfEntity()
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