Click or drag to resize
CalculationWorks Logo
BcfTransactionCompute Method
Executes all necessary operations to bring the BcfCell.Values up to date. The validation tags will not be updated.

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

IsRolledBack is true

IsCurrent is false

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

BcfComputeExceptionenforcing relations or calculation caused an exception
Remarks

Compute() calls before any function or validator will be executed.

You only need to call this method if you have to get computed values within a transaction. For example this is necessary when coding a content based BcfColumnValueSetter.

Before every begin and end of any transaction or subtransaction the queued calculations and validations will be processed.

Version Information

CalculationWorks.BusinessModel

Supported in: 3.0, 2.1, 2.0
See Also

Reference

BcfTransaction.EnforceRelationConstraints