In This Chapter, we'll implement the business objects that we designed in Chapter 6, making use of the CSLA .NET Framework that we designed and implemented in Chapters 3 through 5. To a large degree, this chapter will tie together everything that we've discussed in the book so far; it will illustrate how to write code to create business objects, and make the most of the thought, design, and coding that we've done.
The business objects that we'll build in this chapter will enjoy all the features and capabilities that we built into the CSLA .NET Framework. The great thing is that almost all the code in our business objects will be business focused. Each business class will largely consist of three areas:
UI-focused business properties and methods
static methods to support class in charge (as discussed in Chapter 1)
Data-access methods ( DataPortal_xyz() , as discussed in Chapter 5)
Before we implement the business objects for our sample project-tracker application, let's take a look at the life cycle of a business object, and the general code structure for business classes.