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