Table, View and CursorAdapter Relations

As you are setting up referential integrity for an application’s tables, views and CursorAdapters, you are defining the relations among the entities. Some developers use the terms “parent” and “child” to refer to related entities. A child table, view or CursorAdapter is actually a table, view or CursorAdapter with a foreign key that must match a primary key in a parent table, view or CursorAdapter. If you set up referential integrity for all foreign keys, you define the parent-child relationships at the same time. There’s nothing left for you to do in VPME to set up table, view or CursorAdapter relations.

Tip: You can print or view an application’s table relations by running the Foreign Keys report that VPM Enterprise puts into every application. 


Special Situation Regarding Numeric Foreign Keys