CalculationWorks Logo
BcfDataSetBeginTransaction Method (BcfTransactionBuilder)CalculationWorks BCF Library 1.1 for .NET Framework 4.5

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

Creates a transaction and sets it as the CurrentTransaction. If CurrentTransaction is not null a subtransaction of the CurrentTransaction will be created.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax

public BcfTransaction BeginTransaction(
	BcfTransactionBuilder builder
)

Parameters

builder
Type: CalculationWorks.BusinessModelBcfTransactionBuilder
The builder.

Return Value

Type: BcfTransaction
BcfTransaction.
Exceptions

ExceptionCondition
ArgumentNullExceptionbuilder is null
InvalidOperationExceptionreentrancy call (ReleasingEvents is true)
BcfComputeExceptionCurrentTransaction is not null and enforcing relations or calculation caused an exception
See Also

Reference