Editableroot(BusinessBase) .

Editableroot(BusinessBase) .

Old forum URL: forums.lhotka.net/forums/t/250.aspx


shahram posted on Friday, June 02, 2006

Hi!

My question is if a Editableroot object(BusinessBase) can have more than one child collection?

regards

RockfordLhotka replied on Friday, June 02, 2006

Yes, certainly. Just repeat the pattern discussed in Chapter 7 for the Project class, regarding the field, property and overrides of IsValid and IsDirty for each child collection.

xal replied on Friday, June 02, 2006

Absolutely. It can have as many child collections or child objects as you want, whether it's a good idea or not, but that's another topic. If you have too many child collections sometimes it's a good idea to do lazy loading. Look that up in searchcsla.com and you'll find a lot of examples....

Andrés

Copyright (c) Marimer LLC