Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Many data-focused applications are used to present hierarchical data, so this next example will focus on parent/child/grandchild data using EntityDataSource controls. As the previous example allowed you to work with related EntityReference data, this example will give you an opportunity to use EntityDataSource controls to work with related child entities.
In this example, you will use a variety of methods to populate controls on a web form and take advantage of the EntityDataSource’s editing capabilities. This form, shown in Figure 11-9, will let BreakAway employees view customers and their reservations as well as add payments. You will get a chance to work with a variety of relationships and binding scenarios. And in the course of doing this, you will hit a few speed bumps and learn how to get around them.