Add initialization and reset code
This commit is contained in:
@@ -183,6 +183,8 @@ namespace VEPROMS.CSLA.Library
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROImageFigureCount", true);
|
||||
if (_ROImageFigureCount < 0)
|
||||
_ROImageFigureCount = ROImageFigures.Count;
|
||||
return _ROImageFigureCount;
|
||||
}
|
||||
}
|
||||
@@ -203,6 +205,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public void RefreshROImageFigures()
|
||||
{
|
||||
_ROImageFigureCount = -1;
|
||||
ConvertListToDictionary();
|
||||
if (_CacheByPrimaryKey.ContainsKey(_ImageID.ToString()))
|
||||
foreach (ROImageInfo tmp in _CacheByPrimaryKey[_ImageID.ToString()])
|
||||
|
Reference in New Issue
Block a user