Referential integrity in the ERM means that all relations and links between data elements remain unchanged at individual elements or that they are disconnected according to certain rules. It is taken care of that no relations exist in the data stock of the application without their corresponding master elements.
DataView automatically guarantees this referential integrity for all relations created - i.e. for the model objects entity type, relation and link. If a user deletes a master record in one of the connected tables, DataView automatically deletes all assigned relation records which make no use any longer without the parent- or child element. Depending on the relation this fact can be described as follows:
Basically, not the mask in which the user executes the deleting process is decisive, but the process is related to tables.
All elements are only temporarily deleted by DataView, i.e moved to the trash-basket. Each delete process - usually several connected records are included - can be undone. DataView will then restore all records into their original tables.
Example: In the meditronic application an item is provided by two suppliers. If a user deletes this item in the item master, DataView will automatically delete the relation to these two suppliers in the relation table, too.
The standard procedure for each relation can be modified using Check and Delete flags (fields <Ch, >Ch, <, > in case of logical definition of the model objects). The usage of both flags together allows complex saving and deleting procedures to be installed.