## 16 EORelationship class

### 16.1 overview

A relationship represents a connecton between entities and are described with EOJoin’s. A join defines source and destination attributes – The attributes of the joining entity which must match.

A relationship may be of type to-one or to-many. In a to-many the destination will be an array of objects, and a to-one relationships destination a single object.

Typically a relationship is a class property. Yet some relationships may soley be used for flattening other relationships which are class properties, yet need not be class properties themselves.