public Dictionary<string, string> GetValueMap(string identityId, string datasetName) { lock (sqlite_lock) { Dictionary<string, string> values = new Dictionary<string, string>(); List<Record> records = GetRecords(identityId, datasetName); foreach (Record record in records) { if (!record.IsDeleted) { values.Add(record.Key, record.Value); } } return values; } }