How would someone join two classes each with independant inheritance trees to bridge context boundaries, given the restrictions that nether class's inheritance trees can be modified to inherit from the other
ie
if a item that is an entity saved to a database lets say
public class Stockitem : StockItemBase { ... }
needs to be displayed using a drawing component lets say Public class GraphicNode : BaseNode { ... }
It would be nice to simply have a subclassed stockitemgraphicnode as there are many common members
My question is what is the best way to design a solution?