Constructs an event containing the pertinent information.
Namespace: NHibernate.EventAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public PreDeleteEvent( Object entity, Object id, Object[] deletedState, IEntityPersister persister, IEventSource source ) |
Visual Basic |
---|
Public Sub New ( _ entity As Object, _ id As Object, _ deletedState As Object(), _ persister As IEntityPersister, _ source As IEventSource _ ) |
Visual C++ |
---|
public: PreDeleteEvent( Object^ entity, Object^ id, array<Object^>^ deletedState, IEntityPersister^ persister, IEventSource^ source ) |
Parameters
- entity
- Type: System..::..Object
The entity to be deleted.
- id
- Type: System..::..Object
The id to use in the deletion.
- deletedState
- Type: array<System..::..Object>[]()[][]
The entity's state at deletion time.
- persister
- Type: NHibernate.Persister.Entity..::..IEntityPersister
The entity's persister.
- source
- Type: NHibernate.Event..::..IEventSource
The session from which the event originated.