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

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

Begins a sub transaction.

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

public BcfTransaction BeginSubTransaction(
	BcfTransactionBuilder builder
)

Parameters

builder
Type: CalculationWorks.BusinessModelBcfTransactionBuilder
The builder.

Return Value

Type: BcfTransaction
BcfTransaction.
Exceptions

ExceptionCondition
ArgumentNullExceptionbuilder is null
InvalidOperationException

IsDiscarded is true

IsCurrent is false

BcfComputeExceptionenforcing relations or calculation caused an exception
Remarks

Before every end of any transaction or subtransaction and every begin of a subtransaction the queued calculations and validations will be processed.
See Also

Reference