Fixed NextItems logic

Replaced duplicate logic in GetChildren with MyItems
Fixed logic to check for Sections = null
This commit is contained in:
Rich
2010-11-15 17:01:36 +00:00
parent ba85df568a
commit e20796dfbf
6 changed files with 12 additions and 9 deletions

View File

@@ -111,7 +111,8 @@ namespace VEPROMS.CSLA.Library
{ get { return (_MyItems != null ? _MyItems : _MyItems = ItemInfoList.GetList(_ItemID, _FromType)); } }
public System.Collections.IList GetChildren()
{
return (_MyItems != null ? _MyItems : _MyItems = ItemInfoList.GetList(_ItemID, _FromType));
//return (_MyItems != null ? _MyItems : _MyItems = ItemInfoList.GetList(_ItemID, _FromType));
return MyItems;
}
//public bool ChildrenAreLoaded
//{