Chapter 8. Object Status Management

The next topic I want to discuss in the implementation of CSLA .NET is how editable objects manage status information. Editable business objects maintain a set of consistent status information. Management of these values is mostly automated by BusinessBase, BusinessListBase, and the data portal.

Object Status Properties

All editable business objects should keep track of whether the object has just been created, whether its data has been changed, or whether it has been marked for deletion. Using the validation rules functionality, the object can also keep track of whether it's valid. Table 8-1 lists the object status properties in BusinessBase and BusinessListBase.

Table 8.1. Object Status Properties

Property

Description ...

Get Expert C# 2008 Business Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.