Called before an object is deleted

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

Syntax

C#
void OnDelete(
	Object entity,
	Object id,
	Object[] state,
	string[] propertyNames,
	IType[] types
)
Visual Basic
Sub OnDelete ( _
	entity As Object, _
	id As Object, _
	state As Object(), _
	propertyNames As String(), _
	types As IType() _
)
Visual C++
void OnDelete(
	Object^ entity, 
	Object^ id, 
	array<Object^>^ state, 
	array<String^>^ propertyNames, 
	array<IType^>^ types
)

Parameters

entity
Type: System..::..Object

[Missing <param name="entity"/> documentation for "M:NHibernate.IInterceptor.OnDelete(System.Object,System.Object,System.Object[],System.String[],NHibernate.Type.IType[])"]

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.IInterceptor.OnDelete(System.Object,System.Object,System.Object[],System.String[],NHibernate.Type.IType[])"]

state
Type: array<System..::..Object>[]()[][]

[Missing <param name="state"/> documentation for "M:NHibernate.IInterceptor.OnDelete(System.Object,System.Object,System.Object[],System.String[],NHibernate.Type.IType[])"]

propertyNames
Type: array<System..::..String>[]()[][]

[Missing <param name="propertyNames"/> documentation for "M:NHibernate.IInterceptor.OnDelete(System.Object,System.Object,System.Object[],System.String[],NHibernate.Type.IType[])"]

types
Type: array<NHibernate.Type..::..IType>[]()[][]

[Missing <param name="types"/> documentation for "M:NHibernate.IInterceptor.OnDelete(System.Object,System.Object,System.Object[],System.String[],NHibernate.Type.IType[])"]

Remarks

It is not recommended that the interceptor modify the state.

See Also