QuickObjects.ObjectBase Send comments on this topic.
IsDirty Property
See Also 
Akal.QuickObjects.ObjectBase Namespace > BaseBusinessObject Class : IsDirty Property

IsDirty

Holds a boolean value. This value indicates weather the record values loaded into the object's properties have been modified since then or not.

Setting the value to false also resets the IsDirty flag on all the fields contained by this business object.


	if (myBusinessObject.IsDirty)
	{
		//codeBlock
	}
	

As in the above example, IsDirty property can be used to determine weather the record values loaded have been modified or not and IsDirty can be combined with IsLoaded to check if the record has been loaded or not.

Syntax

C# 
public bool IsDirty {get; set;}

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also