Should the parent be considered dirty, given both the old and current
field or element value?
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public virtual bool IsDirty( Object old, Object current, ISessionImplementor session ) |
Visual Basic |
---|
Public Overridable Function IsDirty ( _ old As Object, _ current As Object, _ session As ISessionImplementor _ ) As Boolean |
Visual C++ |
---|
public: virtual 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 is not used by this method.
Return Value
true if the field is dirtyImplements
IType..::..IsDirty(Object, Object, ISessionImplementor)Remarks
This method uses IType.Equals(object, object) to determine the value of IsDirty.