Click or drag to resize

BcfTransactionSetEnforceConstraints Method

Sets a value indicating whether constraints will be enforced or not.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public BcfTransaction SetEnforceConstraints(
	bool enforce
)

Parameters

enforce
Type: SystemBoolean
if set to constraints will be enforced.

Return Value

Type: BcfTransaction
This.
Exceptions
ExceptionCondition
InvalidOperationException

IsCurrent is

or

DataSet is Locked.

BcfUpdateExceptionThe implementations specifies the details. See BcfRelationConstraintException, BcfForeignKeyConstraintException, BcfUniqueKeyConstraintException
See Also