Click or drag to resize
CalculationWorks Logo
BcfTransactionEnterDumbMode Method

Sets all computed cells and validations to 'must recompute' and disables the internal change tracking until next call of Compute (implicit by BeginSubTransaction or Commit) or Rollback. When DumbMode ends all computed cells and validations will be recomputed.

Very useful when loading data into an empty BcfDataSet.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 2.1.0.0
Syntax
public virtual void EnterDumbMode()
Exceptions
ExceptionCondition
InvalidOperationExceptionThe BcfTransaction is not the current transaction
InvalidOperationException

dataset is locked; e.g. BcfDataSet is just switching the current transaction or is undoing/redoing.

do not call this method e.g. from inside BcfFunctionBase, BcfValidatorBase nor IBcfUndoRedoItem

See Also