Click or drag to resize

BcfUndoRepositoryClear Method

[This is preliminary documentation and is subject to change.]

Clears the BcfUndoRepository.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public void Clear(
	bool reinitialize
)

Parameters

reinitialize
Type: SystemBoolean
if set to true and using file-based repository including initial data state (see EnableFileUndoSession(Stream, Stream, Byte)) the current data will be added to repository as new initial data state.
Remarks

When using file-based repository including initial data state (see EnableFileUndoSession(Stream, Stream, Byte)) and executing Clear(false) the repository can not be restored.

reinitialize has no effect on other repositories than 'file-based repository including initial data state' (see EnableFileUndoSession(Stream, Stream, Byte)).
See Also