Called from Flush(). The return value determines whether the entity is updated

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
protected internal virtual int[] FindDirty(
	Object id,
	IDictionary previousState,
	IDictionary currentState,
	IType[] types
)

Parameters

id
Object

[Missing <param> documentation for "id"]

previousState
IDictionary

[Missing <param> documentation for "previousState"]

currentState
IDictionary

[Missing <param> documentation for "currentState"]

types
array<IType>[]()

[Missing <param> documentation for "types"]

Return Value

An array of dirty property indicies or null to choose default behavior

Remarks

an array of property indicies - the entity is dirtyan empty array - the entity is not dirtynull - use Hibernate's default dirty-checking algorithm

See Also