Header and Detail Windows
A header/detail window is used to view and edit data from a header database table and associated records from a related detail database table. For example, your database can contain an Orders EntitySet related to an OrderItems EntitySet. These tables could be used as the header and detail respectively. Various user interface objects are generated for the different views supported by the code.
When you edit one of these components, you specify various attributes. The most important entries define the name and type of the header and detail tables for which the objects and code are generated. You must also specify the names of other objects (usually a relationship) that, when combined with the header and detail, comprise a valid Zim set specification and you must specify the name of the field in the detail table that is a foreign key for the header table.