Last active
January 6, 2020 13:22
-
-
Save scattered-code/b262b19c81edb1dcae0c062ab5db225b to your computer and use it in GitHub Desktop.
This file contains 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
using (var session = documentStore.OpenAsyncSession()) | |
{ | |
await foreach (var entry in GetDocumentsFromDatabase2(session)) | |
{ | |
Console.WriteLine($"Processing entry '{entry.Id}'"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment