Click or drag to resize
CalculationWorks Logo
BcfTransactionEnforceKeyConstraints Method
Sets a value indicating whether key constraints will be enforced or not.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.2.1.2
Syntax
public void EnforceKeyConstraints(
	bool enforce
)

Parameters

enforce
Type: SystemBoolean
if set to true key constraints will be enforced.
Exceptions
ExceptionCondition
InvalidOperationException

enforce is true and IsCurrent is false

or

dataset is Locked; e.g. BcfDataSet is just switching the CurrentTransaction or is undoing/redoing or calculating.

BcfRelationConstraintExceptionenforcing relations caused an exception
Version Information

CalculationWorks.BusinessModel

Supported in: 3.2, 3.0
See Also