When implemented by a class, should the parent be considered dirty, given both the old and current field or element value?

Namespace:  NHibernate.Type
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function IsDirty ( _
	old As Object, _
	current As Object, _
	session As ISessionImplementor _
) As Boolean
C#
bool IsDirty(
	Object old,
	Object current,
	ISessionImplementor session
)
Visual C++
bool IsDirty(
	Object^ old, 
	Object^ current, 
	ISessionImplementor^ session
)
JavaScript
function isDirty(old, current, session);

Parameters

old
Type: System..::.Object
The old value
current
Type: System..::.Object
The current value
session
Type: NHibernate.Engine..::.ISessionImplementor
The ISessionImplementor

Return Value

true if the field is dirty

See Also