Exemplo n.º 1
0
        /// <summary>
        /// Gets records by row key. This method may be slow if there is a high volume of
        /// data across many partitions, prefer to use <see cref="GetByPartitionKey(string)"/>
        /// </summary>
        /// </summary>
        /// <param name="rowKey">The row key.</param>
        /// <param name="filter">The filter.</param>
        /// <param name="pageSize">Size of the page.</param>
        /// <param name="continuationTokenJson">The continuation token json.</param>
        /// <returns>PagedResult&lt;T&gt;.</returns>
        public PagedResult <T> GetByRowKeyPaged(string rowKey, Func <T, bool> filter, int pageSize = 100,
                                                string continuationTokenJson = null)
        {
            var result = _tableStore.GetByRowKeyPaged(rowKey, pageSize, continuationTokenJson);

            return(CreatePagedResult(result, filter));
        }