Click or drag to resize

BcfDataSetBeginTransaction Method (BcfTransactionBuilder)

[This is preliminary documentation and is subject to change.]

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

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
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 null.
InvalidOperationException

BcfDataSet is Locked.

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