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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
bool IsDirty(
	Object old,
	Object current,
	ISessionImplementor session
)
Visual Basic
Function IsDirty ( _
	old As Object, _
	current As Object, _
	session As ISessionImplementor _
) As Boolean
Visual C++
bool IsDirty(
	Object^ old, 
	Object^ current, 
	ISessionImplementor^ 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