Locate the property-indices of all properties considered to be dirty.

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

Syntax

C#
int[] FindDirty(
	Object[] currentState,
	Object[] previousState,
	Object entity,
	ISessionImplementor session
)
Visual Basic
Function FindDirty ( _
	currentState As Object(), _
	previousState As Object(), _
	entity As Object, _
	session As ISessionImplementor _
) As Integer()
Visual C++
array<int>^ FindDirty(
	array<Object^>^ currentState, 
	array<Object^>^ previousState, 
	Object^ entity, 
	ISessionImplementor^ session
)

Parameters

currentState
Type: array<System..::..Object>[]()[][]
The current state of the entity (the state to be checked).
previousState
Type: array<System..::..Object>[]()[][]
The previous state of the entity (the state to be checked against).
entity
Type: System..::..Object
The entity for which we are checking state dirtiness.
session
Type: NHibernate.Engine..::..ISessionImplementor
The session in which the check is ccurring.

Return Value

nullNothingnullptra null reference (Nothing in Visual Basic) or the indices of the dirty properties

See Also