Changed ROImage to use GetJustROImage so that the ROFST lookup is not loaded for each ROImage.
This commit is contained in:
@@ -78,7 +78,7 @@ namespace VEPROMS.CSLA.Library
|
||||
get
|
||||
{
|
||||
CanReadProperty("MyROImage", true);
|
||||
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImage.Get(_ImageID);
|
||||
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImage.GetJustROImage(_ImageID);//Don't load figures or ROFST - Causing Memory Crash
|
||||
return _MyROImage;
|
||||
}
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
|
Reference in New Issue
Block a user