Fixed Cache for ItemInfo - This was causing steps to not be undated in the editor or the tree.

Unique Key for ROFst Lookup
This commit is contained in:
Rich committed 2014-04-10 20:13:15 +00:00
1 parent 132619c0ba
commit 1d760eab81
2 files changed
+17 -13

No files matched your search

@@ -174,7 +174,8 @@ namespace VEPROMS.CSLA.Library
public ROFSTLookup GetROFSTLookup(DocVersionInfo dvi)
{
//string key = string.Format("{0}.{1}",dvi.DocVersionAssociations[0].ROFstID,dvi.DocVersionConfig.SelectedSlave);
string key = string.Format("{0}.{1}.{2}", ROFstID, dvi.DocVersionConfig.MaxSlaveIndex, dvi.DocVersionConfig.SelectedSlave); if (!dicLookups.ContainsKey(key))
string key = string.Format("{0}.{1}.{2}", ROFstID, dvi.DocVersionConfig.MaxSlaveIndex, dvi.DocVersionConfig.SelectedSlave);
if (!dicLookups.ContainsKey(key))
dicLookups.Add(key, new ROFSTLookup(this, dvi));
return dicLookups[key];
}