This commit is contained in:
Kathy Ruffing 2007-12-14 14:59:22 +00:00
parent 1eef90f60b
commit c2a5254e42
2 changed files with 2 additions and 2 deletions

View File

@ -2576,7 +2576,7 @@ namespace VEPROMS.CSLA.Library
{
get
{
return(_TransTypeList == null)? _TransTypeList = new TransTypeList(SelectNodes("TransTypeData/TransTypes")): _TransTypeList;
return(_TransTypeList == null || _TransTypeList.Count==0)? _TransTypeList = new TransTypeList(SelectNodes("TransTypeData/TransTypes")): _TransTypeList;
}
}
public TransData(XmlNode xmlNode) : base(xmlNode) { }

View File

@ -95,7 +95,7 @@ namespace VEPROMS.CSLA.Library
{
if (xmlNode == null) return null;
XmlNodeList xl = xmlNode.SelectNodes(path);
if (xl == null) xl = InheritLookupNodes(xmlNode, path);
if (xl == null||xl.Count==0) xl = InheritLookupNodes(xmlNode, path);
if (xl == null) return null;
return xl;
}