O'Reilly logo

Expert C# 2008 Business Objects by Rockford Lhotka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required