Click or drag to resize
CalculationWorks Logo
BcfTransactionEnforceRelationConstraints Method
Updates the internal indexes and throws ArgumentException if any foreign or unique key constraint is violated.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 2.1.0.0
Syntax
public void EnforceRelationConstraints()
Exceptions
ExceptionCondition
InvalidOperationException

IsDiscarded is true

IsCurrent is false

Remarks
If an exception ist thrown the transaction ist NOT marked as corrupt. The invalid data can be updated.
See Also