Managed child objects without child data portal?

Managed child objects without child data portal?

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


rsbaker0 posted on Tuesday, October 28, 2008

I implemented my first managed child object today (a BLB derived class), and was surprised when all seemed well when I just wired it into my existing persistence framework.

Basically, my BusinessBase<T> derived infrastructure class just called FieldManager.GetChildren() and looped through the resulting list calling my previously implemented save logic.

Is this a legitimate thing to do or am I asking for trouble?

 

RockfordLhotka replied on Tuesday, October 28, 2008

That is totally supported. There's absolutely no requirement to use the child data portal.

Copyright (c) Marimer LLC