public DataStore(IAsyncKeyValueStore <TId, T> records, IndexStore <TId> indexes, IDictionary <string, Func <T, string> > indexValueProviders) { this.records = records; this.indexes = indexes; this.indexValueProviders = indexValueProviders; }