Пример #1
0
        public async Task <IEnumerable <IDictionary <string, object> > > ReadAllStreamReadersPropertiesAsync(string streamName)
        {
            Require.NotEmpty(streamName, nameof(streamName));

            var query = m_table.PrepareEntityRangeQueryByRows(streamName, "RDR", "RDS", Properties.ReferenceRowHead);

            var headProperties = await query.ExecuteAsync();

            return(headProperties ?? Enumerable.Empty <IDictionary <string, object> >());
        }
Пример #2
0
 public static ICloudTableEntityRangeQuery PrepareEntityRangeQueryByRows(
     this ICloudTable table,
     string partitionKey,
     string fromRowKey,
     string toRowKey)
 {
     return(table.PrepareEntityRangeQueryByRows(
                partitionKey,
                fromRowKey,
                toRowKey,
                EmptyArray.Get <string>()));
 }