The PreInsertEvent type exposes the following members.

Properties

  NameDescription
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.)
Public propertyState
These are the values to be inserted.

See Also