Called when we have recognized an attempt to delete a detached entity.
Namespace: NHibernate.Event.DefaultAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected virtual void PerformDetachedEntityDeletionCheck( DeleteEvent event ) |
Visual Basic |
---|
Protected Overridable Sub PerformDetachedEntityDeletionCheck ( _ event As DeleteEvent _ ) |
Visual C++ |
---|
protected: virtual void PerformDetachedEntityDeletionCheck( DeleteEvent^ event ) |
Parameters
- event
- Type: NHibernate.Event..::..DeleteEvent
The event.
Remarks
This is perfectly valid in Hibernate usage; JPA, however, forbids this.
Thus, this is a hook for HEM to affect this behavior.