Click or drag to resize
CalculationWorks Logo
BcfDataSetBeginTransaction Method
Creates a transaction and sets it as the CurrentTransaction. If CurrentTransaction is not null before calling BeginTransaction a subtransaction of the CurrentTransaction will be created.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 2.1.0.0
Syntax
public BcfTransaction BeginTransaction()

Return Value

Type: BcfTransaction
BcfTransaction.
Exceptions
ExceptionCondition
InvalidOperationException reentrancy call (ReleasingEvents is true)
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

BcfComputeExceptionCurrentTransaction is not null and enforcing relations or calculation caused an exception
See Also