CalculationWorks Logo
BcfTransactionEnforceRelationConstraints Method CalculationWorks BCF Library 1.1 for .NET Framework 4.5

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

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: 1.1.0.0
Syntax

public void EnforceRelationConstraints()
Exceptions

ExceptionCondition
InvalidOperationException

IsDiscarded is true

IsCurrent is false

BcfComputeExceptionenforcing relations or calculation caused an exception
Remarks

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

Reference