| BcfTransactionCompute Method | |
Namespace: CalculationWorks.BusinessModel
| Exception | Condition |
|---|---|
| InvalidOperationException | IsCurrent is false ordataset is Locked; e.g. BcfDataSet is just switching the CurrentTransaction or is undoing/redoing or calculating. |
| BcfRelationConstraintException | enforcing relations caused an exception |
| BcfComputeException | calculation caused an exception |
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.