Hierarchy with Inheritiable Properties

Hierarchy with Inheritiable Properties

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


JonM posted on Monday, April 07, 2008

I've got odd requirement where I need a multi-level hierarchy of business objects (account) that need to have inheritible properties.  Any advise on this one?  I'm planning on trying to use the same object as the root and child.  Basically the parent object will have a child instance so it can support a n-level hierarchy.  The child will be null if there is no child.  I'm not sure how to make the property changes cascade down yet.  I need to be able to have the child overrided the parent property and keep track on whether this is so.  I'm just wondering if there is a better way and if I'm going down the right path here.

Copyright (c) Marimer LLC