Foreign key constraints define parent-child relationships between the source tables. Use constraints to determine the tables to include in a data subset. You can also limit the values that you want to store in the data subset table columns.
When you create a data entity, you select one table for the entity. The table that you select is the entity driving table. Test Data Manager adds other tables to the entity based on the constraints for the driving table.
Use data discovery to find relationships between tables. When you identify the relationships that you want to add to the TDM repository, create and edit constraints in Test Data Manager.
The following types of constraints define relationships between tables in an entity:
Primary Key
A column or combination of columns that uniquely identifies a row in a data source. A table can have one primary key.
Logical Manual
A parent-child relationship between tables based on columns that are not keys. You can create the following logical constraints:
Logical constraints that you accept from data discovery profiles. You can delete these logical constraints.
Logical constraints that you define in Test Data Manager. You can delete these logical constraints.