public ReadOnlyCollection <IEntityBase> GetBaseTypesGraph(InheritanceGraphDirection graphDirection) { List <IEntityBase> list = new List <IEntityBase>(); IEntityBase baseEntity = this.BaseType; while (baseEntity != null) { list.Add(baseEntity); baseEntity = baseEntity.BaseType; } if (graphDirection == InheritanceGraphDirection.RootToType) { list.Reverse(); } return(new ReadOnlyCollection <IEntityBase>(list)); }
public ReadOnlyCollection <IEntityBase> GetBaseTypesGraph(InheritanceGraphDirection graphDirection) { throw new NotImplementedException(); }