Click or drag to resize

BcfDataSetEnableMemoryUndo Method

Enables collecting data-changes (collecting data for Undo(Int32) and Redo(Int32)) in memory.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public void EnableMemoryUndo()
Exceptions
ExceptionCondition
InvalidOperationException

BcfDataSet is Locked.

or

CurrentTransaction is not

or

Undo is already enabled.

ObjectDisposedExceptionThis BcfDataSet is disposed.
Remarks

This method enables in collecting data-changes in memory by keeping alive historic BcfRow and Value references. In memory-undo is fastest and suitable for small models with a short undo history. Many data change and a long history will use more memory and may cause performance issues due to garbage collection.

See Also