Click or drag to resize

BcfTransactionEnforceConstraints Property

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

Gets a value indicating whether unique-key, foreign-key and relation constraints will be enforced after each update or not.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public bool EnforceConstraints { get; }

Property Value

Type: Boolean
true if constraints will be enforced after each update, false otherwise.
Remarks

If EnforceConstraints is false the constraints will be enforced before calculating or when main-transaction commits.

Default value is defined in TransactionFactory.EnforceConstraints. Subtransactions inherits the setting from its parent-transaction - except it is explicit specified.

See Also