Should the parent be considered dirty, given both the old and current
field or element value?
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Function IsDirty ( _ old As Object, _ current As Object, _ session As ISessionImplementor _ ) As Boolean |
C# |
---|
public virtual bool IsDirty( Object old, Object current, ISessionImplementor session ) |
Visual C++ |
---|
public: virtual 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 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.