Roles have relationships, which are specified with the relationship editor. Relationships are useful in applications because they show how specific roles are related through similar data structures and data types. In this sample, you create a customer relationship composed of a generic customer, a banking customer, and a brokerage customer.
Creating a relationship involves defining a generic role, in this case a customer, and then some specific roles such as a bank customer and a brokerage customer. Key attributes are specified for each role. The key attribute used in this sample is the customer ID number.
The relationship you will create is called CustomerRelationship, because you are defining the role of the customers with respect to an application.