When opening the RO Editor the program was failing due to a SQL timeout. This was because all of the ROIMages were needlessly being loaded into memory.

This commit is contained in:
Rich 2012-06-15 16:42:18 +00:00
parent 25db26519e
commit 51312b4b38

View File

@ -118,7 +118,7 @@ namespace VEPROMS.CSLA.Library
get
{
CanReadProperty("MyRODb", true);
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODbInfo.Get(_RODbID);
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODbInfo.GetJustRODB(_RODbID);
return _MyRODb;
}
}