Zen QuickStart Tutorial
Data Model
[Home] [Back] 
InterSystems: The power behind what matters   
Class Reference   
Search:    

The Caché data model for Zen Contacts consists of three classes ZenTutorial.Contact, ZenTutorial.Address, and ZenTutorial.PhoneNumber. The classes store information about contacts and their phone numbers. Here is a diagram depicting the two classes:

ZenTutorial.Contact contains the following properties:
ZenTutorial.PhoneNumber contains the following properties:
ZenTutorial.Contact and ZenTutorial.PhoneNumber form a parent-child relationship. Each Contact can be related to many PhoneNumber. Each PhoneNumber is related to exactly one Contact.
Note:
To learn more about serial classes, read Introduction to Serial Objects in Defining and Using Object-Valued Properties section of Using Caché Objects.
To learn more about parent-child relationships, read Relationships in Using Caché Objects.