Refresh Entry when ContentInfo refreshed (Error 159)
This commit is contained in:
parent
c5f5e692c8
commit
c57078a7cb
@ -504,7 +504,12 @@ namespace VEPROMS.CSLA.Library
|
||||
ConvertListToDictionary();
|
||||
if (_CacheByPrimaryKey.ContainsKey(key))
|
||||
foreach (ContentInfo tmpInfo in _CacheByPrimaryKey[key])
|
||||
{
|
||||
tmpInfo.RefreshFields(tmp);
|
||||
// TODO: This needs to be handled in Generatedd Code.
|
||||
if (tmp.MyEntry != null && tmpInfo.MyEntry != null && tmp.MyEntry.MyDocument.DocID != tmpInfo.MyEntry.MyDocument.DocID)
|
||||
EntryInfo.Refresh(tmp.MyEntry);
|
||||
}
|
||||
}
|
||||
protected virtual void RefreshFields(Content tmp)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user