Constructs an event containing the pertinent information.

Namespace: NHibernate.Event
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
protected AbstractPreDatabaseOperationEvent(
	IEventSource source,
	Object entity,
	Object id,
	IEntityPersister persister
)
Visual Basic
Protected Sub New ( _
	source As IEventSource, _
	entity As Object, _
	id As Object, _
	persister As IEntityPersister _
)
Visual C++
protected:
AbstractPreDatabaseOperationEvent(
	IEventSource^ source, 
	Object^ entity, 
	Object^ id, 
	IEntityPersister^ persister
)

Parameters

source
Type: NHibernate.Event..::..IEventSource
The session from which the event originated.
entity
Type: System..::..Object
The entity to be invloved in the database operation.
id
Type: System..::..Object
The entity id to be invloved in the database operation.
persister
Type: NHibernate.Persister.Entity..::..IEntityPersister
The entity's persister.

See Also