| Milos How-To |
| Creating a Collection of Child Objects |
Child entity objects are generally used to implement entities that are composed of multiple tables. A typical example would be an invoice and it's line items:

Another example would be a product entity that has a number of attached images stored in a related table.
There are two different classes that need to be implemented for this functionality. The first one represents the actual collection. The second represents each item within the collection.
Note: In this example I assume we are adding a related table with product images and descriptions to our products database.