Add initialization and reset code
This commit is contained in:
@@ -177,6 +177,8 @@ namespace VEPROMS.CSLA.Library
|
||||
get
|
||||
{
|
||||
CanReadProperty("DocumentEntryCount", true);
|
||||
if (_DocumentEntryCount < 0)
|
||||
_DocumentEntryCount = DocumentEntries.Count;
|
||||
return _DocumentEntryCount;
|
||||
}
|
||||
}
|
||||
@@ -197,6 +199,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public void RefreshDocumentEntries()
|
||||
{
|
||||
_DocumentEntryCount = -1;
|
||||
ConvertListToDictionary();
|
||||
if (_CacheByPrimaryKey.ContainsKey(_DocID.ToString()))
|
||||
foreach (DocumentInfo tmp in _CacheByPrimaryKey[_DocID.ToString()])
|
||||
|
Reference in New Issue
Block a user