Compare two snapshots of the state of an instance to determine if the persistent state was modified

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

Syntax

Visual Basic (Declaration)
Function FindDirty ( _
	x As Object(), _
	y As Object(), _
	owner As Object, _
	session As ISessionImplementor _
) As Integer()
C#
int[] FindDirty(
	Object[] x,
	Object[] y,
	Object owner,
	ISessionImplementor session
)
Visual C++
array<int>^ FindDirty(
	array<Object^>^ x, 
	array<Object^>^ y, 
	Object^ owner, 
	ISessionImplementor^ session
)
JavaScript
function findDirty(x, y, owner, session);

Parameters

x
Type: array< System..::.Object >[]()[]
y
Type: array< System..::.Object >[]()[]
owner
Type: System..::.Object
session
Type: NHibernate.Engine..::.ISessionImplementor

Return Value

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

See Also