Created
August 23, 2017 15:14
-
-
Save dontpaniclabsgists/6890f03f74f488fdc5b493154e2861c2 to your computer and use it in GitHub Desktop.
Cosmos1_6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var results = new List<Note>(); | |
while (query.HasMoreResults) | |
{ | |
results.AddRange(await query.ExecuteNextAsync<Note>()); | |
} | |
return results.OrderBy(x => x.Id).ToArray(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment