Click or drag to resize

BcfTransactionBeginSubTransaction Method (String, NullableBoolean)

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

Creates and returns a sub transaction.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public BcfTransaction BeginSubTransaction(
	string name = null,
	Nullable<bool> enforceConstraints = null
)

Parameters

name (Optional)
Type: SystemString
The transaction name. Default is null.
enforceConstraints (Optional)
Type: SystemNullableBoolean
true to enforce relation-constraints after each atomic update.

Return Value

Type: BcfTransaction
The new sub transaction.
Exceptions
ExceptionCondition
InvalidOperationException

IsCurrent is false

or

DataSet is Locked.

BcfUpdateExceptionWhen enforceConstraints is true and EnforceConstraints is false and constraints can not be enforced.
See Also