ReflectionDictionary GetDictionary(KeyInfo keyInfo) { if (!_reflectionDictionaries.ContainsKey(keyInfo.Key)) { var reflectionDictionary = new ReflectionDictionary(); _reflectionDictionaries.Add(keyInfo.Key, reflectionDictionary); var simpleDataLayer = new DataStoreManagerSimpleDataLayer(reflectionDictionary, GetConnectionProvider(keyInfo.Key), keyInfo.Key == StrDefault, keyInfo.IsLegacy); _simpleDataLayers.Add(keyInfo.Key, simpleDataLayer); _tables.Add(keyInfo.Key, new List<string>()); } return _reflectionDictionaries[keyInfo.Key]; }
ReflectionDictionary GetDictionary(KeyInfo keyInfo) { if (!_reflectionDictionaries.ContainsKey(keyInfo)) { var reflectionDictionary = new ReflectionDictionary(); _reflectionDictionaries.Add(keyInfo, reflectionDictionary); _tables.Add(keyInfo.Key, new List<string>()); } return _reflectionDictionaries[keyInfo]; }