Click or drag to resize
LLBLGenProDataSourceBaseEntityDeleted Event
Event which is raised when LivePersistence is set to true and an entity was deleted successfully. The deleted entity is part of the event args.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses.Web (in SD.LLBLGen.Pro.ORMSupportClasses.Web.dll) Version: (5.3.0)
public event EventHandler<DataSourceActionEventArgs> EntityDeleted


Type: SystemEventHandlerDataSourceActionEventArgs
Be aware that the entity in the event args has already been deleted and therefore reading its properties directly will cause an exception. If you need to obtain field values, please either set the 'State' property of the Fields object to Fetched, or read the field's CurrentValue property directly.
See Also