I'm updating my project to use Azure.Data.Tables
12.6.1, and I can't figure out where to specify a Take
value to limit the number of entities returned from a query.
In other words, I want to do something like this:
var limit = 150;
var results = table.QueryAsync<T>(limit);
await foreach (var page in results.AsPages().ConfigureAwait(false)) {
// Regardless of how the server pages the results,
// only the top [limit] items are returned.
}
In the old API, you could set a Take
property on the query object. How do I do this in the new API?