This commit is contained in:
Kathy Ruffing 2008-05-15 11:04:52 +00:00
parent 0b14d49c78
commit 9d0b3cd543
2 changed files with 1376 additions and 15 deletions

File diff suppressed because it is too large Load Diff

View File

@ -258,6 +258,16 @@ namespace VEPROMS.CSLA.Library
{
return vlnFormatDocument.EnumLookup<T>(_XmlNode, path);
}
public bool LazyLoad(ref LazyLoad<bool> ll, string xPath)
{
if (ll == null)
{
XmlNode xn = SelectSingleNode(xPath);
string tstr = xn != null ? xn.InnerText : "FALSE";
ll = new LazyLoad<bool>(tstr.ToUpper() == "TRUE" ? true : false);
}
return ll.Value;
}
public string LazyLoad(ref LazyLoad<string> ll, string xPath)
{
if (ll == null)