This commit is contained in:
parent
1eef90f60b
commit
c2a5254e42
@ -2576,7 +2576,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
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) { }
|
public TransData(XmlNode xmlNode) : base(xmlNode) { }
|
||||||
|
@ -95,7 +95,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
if (xmlNode == null) return null;
|
if (xmlNode == null) return null;
|
||||||
XmlNodeList xl = xmlNode.SelectNodes(path);
|
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;
|
if (xl == null) return null;
|
||||||
return xl;
|
return xl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user