I am using CodeSmith to create my CSLA objects and wanted to make sure I understood some of the basics. I have all of Mr. Lhotka's books since VB6 Business Objects but have always been prevented from doing a full CSLA project.
My question is related to List objects. The objectInfo classes used in the BO books seem to be their own CSLA template, and are not editable child or read-only child objects. Is this correct?
What I want to accomplish is a very simple UI.
A output control (datagrid) is bound to a read only collection of objects. When a user selects edit, an editable root object is loaded.
In this case I believe I need one editable-root object, one readonly-list object, and what else?
Alfred,
Typically, you use a read-only child object in a read-only list. However, this is not a requirement. You can also use a "normal" class or even a struct.
Cheers,
Herman
Copyright (c) Marimer LLC