Click or drag to resize
DataScopeOnEntityDelete Method
Called when toDelete is about to be deleted. Use this method to specify work to be done by the scope to avoid FK constraint issues. workData is meant to collect this work. It can either be additional entities to delete prior to 'toDelete', or a list of relations which are used to create cascading delete actions executed prior to the delete action of toDelete.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
protected virtual void OnEntityDelete(
	IEntityCore toDelete,
	WorkDataCollector workData


Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
To delete.
Type: SD.LLBLGen.Pro.ORMSupportClassesWorkDataCollector
The work data.
See Also