The PreDeleteEvent type exposes the following members.

Properties

  NameDescription
Public propertyDeletedState
This is the entity state at the time of deletion (useful for optomistic locking and such).
Public propertyEntity
The entity involved in the database operation.
(Inherited from AbstractPreDatabaseOperationEvent.)
Public propertyId
The id to be used in the database operation.
(Inherited from AbstractPreDatabaseOperationEvent.)
Public propertyPersister
The persister for the Entity.
(Inherited from AbstractPreDatabaseOperationEvent.)
Public propertySession
Returns the session event source for this event. This is the underlying session from which this event was generated.
(Inherited from AbstractEvent.)

See Also