How about a company address book application? Peoplehave obvious properties, and ContactLists- a set of People. Peoplehave Addresses. The call is ContactListclearly impossible; however, sending messages to a person and sending to ContactListmust have the same open API for SmtpClient.
In this example, you can illustrate:
- basic mapping (i.e.
FirstName, etc.) - (,
First, Middle, Last Nickname Name) - Has-One ( ) (..
Person → Address) - -- (..
ContactList ↔ Person) - ( )