protected void OpenDictionary() { persistentSource = new FileBasedPersistentSource(Path.GetTempPath(), "test_", TransactionMode.Lazy); aggregateDictionary = new AggregateDictionary(persistentSource); persistentDictionaryOne = aggregateDictionary.Add(new PersistentDictionary(persistentSource, JTokenComparer.Instance)); persistentDictionaryTwo = aggregateDictionary.Add(new PersistentDictionary(persistentSource, JTokenComparer.Instance)); aggregateDictionary.Initialze(); }
protected void OpenDictionary() { persistentSource = new FileBasedPersistentSource(tempPath, "test_", TransactionMode.Safe); aggregateDictionary = new AggregateDictionary(persistentSource); persistentDictionary = aggregateDictionary.Add(new PersistentDictionary(persistentSource, JTokenComparer.Instance)); aggregateDictionary.Initialze(); }