/// <summary> /// Deserialize the indexes /// </summary> protected virtual async Task DeserializeIndexesAsync() { IndexList.Clear(); var result = await Driver.DeserializeIndexAsync <TKey, TIndex>(typeof(T), Name).ConfigureAwait(false); foreach (var index in result ?? new Dictionary <TKey, TIndex>()) { IndexList.Add(new TableIndex <T, TIndex, TKey>(index.Value, index.Key, Resolver)); } }