Since I am pulling my BO's from a legacy application where most of the CRUD functions operate, one of my business objects does not have responsibility for creating its children ( which are read-only).
However some of the attributes of the parent are editable ... so it is an Editable Root with a read only child collection ....
In trying to follow the published pattern ... the one I'm referencing now ( from the "code reduction with child objects") requires that the child collection inherit from BusinessListBase .... Have a NewList() method.
That's not the case here.
Any documentation / suggestions on how I might make this work using ReadOnlyListBase ??
Thanks,
Steve
I'd suggest that this isn't really a parent-child containment relationship. If the parent doesn't have responsibility for creating/saving the children, they aren't children.
You are probably better off using a unit of work object (http://www.lhotka.net/cslanet/faq/CslaObjectFaq.ashx).
Copyright (c) Marimer LLC