public IEnumerable<Relation> GetChildRoleRelationsFullHierarchy()
{
var retval = new List<Relation>();
foreach (var table in this.GetTableHierarchy())
{
foreach (var relation in table.ChildRoleRelations)
{
if ((relation.ChildTableRef.Object != null) && (relation.ChildTableRef.Ref == table.Id))
retval.Add(relation);
}
}
return retval;
}