Validate and constraint business rules have their expressions
generated as constaints for DBMSs where this is supported. Validate rules can be reused by
multiple objects, but constraint rules can only be used once, and will be generated as a
separate constraint for DBMSs that support multiple constraints.
Support for the generation of constraint rules to your database is controlled by
the following items in the
General category of your DBMS
definition file:
- EnableCheck - Permits the generation of constraints
to the database.
- EnableMultiCheck - Permits the generation of check
parameters (see Setting Data Profiling Constraints) and validation business
rules as a single constraint, followed by the generation of each constraint
business rule as a separate constraint in the order in which they are
attached to the table. If this option is not enabled, then check parameters
and all constraint and validation rules are concatenated into a single
constraint expression.
- UniqueConstName - Requires that all validate and
constraint rules have unique codes.
You can preview the constraints that will be generated on the Preview tab of the table property sheet.
When reverse engineering, the constraint order is respected, with the first
constraint retrieved to the Check tab of the table property
sheet, and each subsequent constraint retrieved as a constraint business rule
attached to the table