Compare the state of an instance to the current database state

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

Syntax

Visual Basic (Declaration)
Function FindModified ( _
	old As Object(), _
	current As Object(), _
	owner As Object, _
	session As ISessionImplementor _
) As Integer()
C#
int[] FindModified(
	Object[] old,
	Object[] current,
	Object owner,
	ISessionImplementor session
)
Visual C++
array<int>^ FindModified(
	array<Object^>^ old, 
	array<Object^>^ current, 
	Object^ owner, 
	ISessionImplementor^ session
)
JavaScript
function findModified(old, current, owner, session);

Parameters

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

Return Value

return nullNothingnullptra null reference (Nothing in Visual Basic) or the indicies of the modified properties

See Also