Add initialization and reset code
This commit is contained in:
@@ -173,6 +173,8 @@ namespace VEPROMS.CSLA.Library
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFstAssociationCount", true);
|
||||
if (_ROFstAssociationCount < 0)
|
||||
_ROFstAssociationCount = ROFstAssociations.Count;
|
||||
return _ROFstAssociationCount;
|
||||
}
|
||||
}
|
||||
@@ -193,6 +195,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public void RefreshROFstAssociations()
|
||||
{
|
||||
_ROFstAssociationCount = -1;
|
||||
ConvertListToDictionary();
|
||||
if (_CacheByPrimaryKey.ContainsKey(_ROFstID.ToString()))
|
||||
foreach (ROFstInfo tmp in _CacheByPrimaryKey[_ROFstID.ToString()])
|
||||
@@ -208,6 +211,8 @@ namespace VEPROMS.CSLA.Library
|
||||
get
|
||||
{
|
||||
CanReadProperty("ROFstFigureCount", true);
|
||||
if (_ROFstFigureCount < 0)
|
||||
_ROFstFigureCount = ROFstFigures.Count;
|
||||
return _ROFstFigureCount;
|
||||
}
|
||||
}
|
||||
@@ -228,6 +233,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public void RefreshROFstFigures()
|
||||
{
|
||||
_ROFstFigureCount = -1;
|
||||
ConvertListToDictionary();
|
||||
if (_CacheByPrimaryKey.ContainsKey(_ROFstID.ToString()))
|
||||
foreach (ROFstInfo tmp in _CacheByPrimaryKey[_ROFstID.ToString()])
|
||||
|
Reference in New Issue
Block a user