When you create a subject area, you include a subset of tables and other objects from the Main Subject Area in a separate model so that you can work with a smaller group of tables.
By default, when you generate the schema for a subject area, the schema references tables in the Main Subject Area that are not in the new subject area, specifically in statements related to foreign keys and triggers. Optionally, you can exclude references to these objects in the schema statements.
For example, you can migrate the primary key customer-number from the CUSTOMER table into the MOVIE-RENTAL-RECORD table as a foreign key. If you create a subject area that includes MOVIE-RENTAL-RECORD but does not include CUSTOMER, customer-number is still identified as a foreign key in the schema.
When you select the Filter Dangling Relationship from Schema Gen option in the Subject Areas dialog, you can eliminate the foreign key reference to the extraneous CUSTOMER table.
Note: When you select the Filter Dangling Relationship from Schema Gen option, attributes that migrate from tables outside of the subject area as still shown as foreign keys. This option has no effect on the graphical objects in the model, only the schema statements change.
When you open the Subject Areas dialog from the Main Subject Area, the Filter Dangling Relationship from Schema Gen option is disabled, since all tables are included in the Main Subject Area.
Copyright © 2013 CA.
All rights reserved.
|
|