Parent of a BusinessListBase

Parent of a BusinessListBase

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


DanEssin posted on Wednesday, August 30, 2006

I have a business object that is an editable child list (derived from BusinessListBase) that is referenced by an Editable Root Object. The editable child objects that go in the editable child list have a parent property (derived from Business Base). As far as I can tell the BusinessListBase does not contain a parent property.

Is this correct?
If so, is there any reason it couldn't have a parent property?
What would be the best way to implement it?

The reason that I am interested is so that, as new children of the list are being created, some of their fields could be defaulted to this.parent.parent.property directly within the business object (rather hat having to remember to do it in the UI).

Any help would be appreciated.
Dan

JoeFallon1 replied on Wednesday, August 30, 2006

This topic is discussed in detail in this thread:

why not hold reference to Root object in the child object

by jason2000

Copyright (c) Marimer LLC