public void AddChild(PersistentObjectBaseWithNameHierarchical<T> child) { if (ChildList.Count() != 0) child.OrderPosition = ChildList.Max(e => e.OrderPosition) + 1; ChildList.Add(child); }