private IDictionary<string, MemoryObject> GetTable(ClassMapping mapping)
{
IDictionary<string, MemoryObject> retVal;
lock (_datastore)
{
if (_datastore.ContainsKey(mapping.Table))
{
retVal = _datastore[mapping.Table];
}
else
{
retVal = new CheckedDictionary<string, MemoryObject>();
_datastore[mapping.Table] = retVal;
}
}
return retVal;
}