Click or drag to resize

BcfDataSetBeginTransaction Method (BcfTransactionBuilder)

Creates a BcfTransaction and sets it as the CurrentTransaction. If CurrentTransaction is not when calling BeginTransaction(BcfTransactionBuilder) a subtransaction of CurrentTransaction will be created.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public BcfTransaction BeginTransaction(
	BcfTransactionBuilder builder
)

Parameters

builder
Type: CalculationWorks.BusinessModelBcfTransactionBuilder
The BcfTransactionBuilder specifying BcfTransaction options.

Return Value

Type: BcfTransaction
The created BcfTransaction
Exceptions
ExceptionCondition
ArgumentNullExceptionbuilder is .
InvalidOperationException

BcfDataSet is Locked.

BcfUpdateExceptionWhen builder.EnforceConstraints is and CurrentTransaction is not and its EnforceConstraints is and constraints can not be enforced.
See Also