ComponentOne DataObjects for .NET
ChangeInProgress Property (C1DataSet)

C1.Data.2 Assembly > C1.Data Namespace > C1DataSet Class : ChangeInProgress Property
Gets or sets a value indicating whether firing BaseLogic.AfterChanges event is deferred.
Syntax
'Declaration
 
Public Property ChangeInProgress As System.Boolean
public System.bool ChangeInProgress {get; set;}
Remarks
This property, available only at run time, is set to False by default. Setting it to True, defers firing AfterChanges event until this property is set back to False.

Normally, BaseLogic.AfterChanges event is fired after every change to a field value. Sometimes, it is desirable to make multiple field changes in a batch without firing this event, and fire the event only when all changes are done. Setting ChangeInProgress to True enables this mode of firing BaseLogic.AfterChanges for all rows of the data set.

See Also

Reference

C1DataSet Class
C1DataSet Members
C1ExpressConnection Class