This project is read-only.

Saving a ConcurrentDictionary not working

Jan 23, 2015 at 9:36 PM
Edited Jan 23, 2015 at 9:54 PM
I have a class (myClass) that has a member of type ConcurrentDictionary:
 Dim myDict as ConcurrentDictionary(of String, Double)
I add the entry to the database
Then I verify the data is there:
Dim dict = DB.QueryAndExecute(Of myClass)(0).myDict
The data is there and everything looks good.

Then I call close, which after looking through the source, calls Commit.
Now when I reopen the file and query myClass, all the standard data members (ints, dbls, strings) have been populated with their values, however, myDict is nothing.

I've stepped through the source code, but I can't seem to find where it is failing.

I'm using the latest version for the 4.5 framework. Thanks for any input you may have.