Constructs a new DeleteEvent instance.
Namespace: NHibernate.EventAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public DeleteEvent( Object entity, IEventSource source ) |
| Visual Basic |
|---|
Public Sub New ( _ entity As Object, _ source As IEventSource _ ) |
| Visual C++ |
|---|
public: DeleteEvent( Object^ entity, IEventSource^ source ) |
Parameters
- entity
- Type: System..::..Object
The entity to be deleted.
- source
- Type: NHibernate.Event..::..IEventSource
The session from which the delete event was generated.