コード例 #1
0
 /// <inheritdoc />
 public async Task <IEnumerable <T> > GetAllIndexEntriesAsync()
 {
     return((await _tableStore.GetAllRecordsAsync().ConfigureAwait(false)).Select(
                item => item.FromTableEntity <TrieEntry <T>, string, string>(x => x.Index, x => x.Key).Data));
 }
コード例 #2
0
 /// <summary>
 /// Gets all records asynchronously.  This method may be slow if there is a high volume of
 /// data across many partitions, prefer to use <see cref="GetByPartitionKeyAsync(string)"/>
 /// </summary>
 /// <returns>Task&lt;IEnumerable&lt;T&gt;&gt;.</returns>
 public async Task <IEnumerable <T> > GetAllRecordsAsync()
 {
     return(CreateRecords(await _tableStore.GetAllRecordsAsync().ConfigureAwait(false)));
 }