Chapter 7. Property Declarations

Chapter 6 introduced the idea of the PropertyInfo<T> class from the Csla namespace. This type allows a business object to declare metadata about the object's properties, and most importantly, it helps eliminate the use of a string literal to reference the property name throughout the business class.

While a business developer could use standard .NET property declaration syntax, it would require him to invoke the authorization, business, and validation rules; processing; and data binding behaviors of CSLA .NET manually in each property.

To simplify the code required to utilize all these behaviors, CSLA .NET supports a coding model that is more abstract, allowing the framework to do much of the work automatically. ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.