I have an entity object in Power Designer and walk through its inheritances but I do not know how to get the child object. Could someone post an example code? It is also important to get the Object ID of the inheritance.
Edit: solution Idea based on pascals examples:
foreach (PdCDM.Inheritance curPDInheritance in curPDEntity.InheritedBy){
foreach(PdCDM.InheritanceLink curPDInheritanceLink in curPDInheritance.InheritanceLinks){
Console.WriteLine(curPDEntity.Name + " parent of " + ((PdCDM.Entity)curPDInheritanceLink.ChildEntity).Name+ " through " + curPDInheritance.Name + " (" + curPDInheritance.ObjectID + ")");
}
}