If needed, you can add complex type attributes to an entity. In this example, a complex type attribute MovieInfo is added to the Customer entity created in Creating business entities in the data model.
Expand the business entity Customer and anonymous type, right-click the attribute Age and select Add Element (after) > Add Complex Type Element to open the [Add Complex Type Element] dialog box.
Enter a name for the attribute, MovieInfo in this example, and keep the other options as default.
Click OK to validate your changes.
Expand the MovieInfo attribute and anonymous type, right-click subelement and select Edit Element from the contextual menu.
Change the name to Movie, change the minimum occurrence to 0, the maximum occurrence to Many (leave it blank), and click OK to close the dialog box.
A [Change to sequence type] dialog box pops up, showing that the Sub-Element Group is changed from All to Sequence. Click OK to close the dialog box.
A complex type attribute MovieInfo is added and listed in the Customer entity, which describes the information of movies rented by the customer.