With the additional files in the site looked at, let's take a look at how you can display contact persons on a page.Because much of the work has already been done by writing the code in the BO, Bll and Dal layers, displaying a list of contact persons is now super easy.Each of the other three components of the application has a reference to the objects in the Business Objects layer.This means that the web site can consume objects like that are returned from the business layer that in turn got them from the data access layer.
The controls in the site will return to their default layout.
You also saw how to use the API to programmatically create contact persons and their contact data and save those in a database.
However, writing explicit code to work with your business objects isn't always fun, and can be a cumbersome task.
Part two showed you how to code the classes that were designed in part one.
You saw how to implement the data access methods and database code and how the various classes were able to work together.