Click or drag to resize

DataAccessAdapterCoreOnDeleteEntity Method

Called right before the actual delete action is executed

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
protected virtual void OnDeleteEntity(
	IActionQuery deleteQuery,
	IEntity2 entityToDelete
)

Parameters

deleteQuery
Type: SD.LLBLGen.Pro.ORMSupportClassesIActionQuery
the ActionQuery object which will be executed
entityToDelete
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
the entity which will be deleted by deleteQuery
See Also