I've now walked through several aspects of the CSLA .NET implementation, including an overview of the framework, base classes, property declarations, object status management, parent-child relationships, and data binding.
This chapter will focus on how CSLA .NET supports business and validation rules in a standardized manner. In several previous chapters, I've made reference to the framework's support for business and validation rules. The rules are invoked when a property is set on an editable business object through the
SetProperty() helper method. The business developer can also invoke the rules by explicitly calling the
CheckRules() method of the
As validation rules are broken ...