Query for documents (.NET)
- DocumentDB supports rich queries against JSON documents stored in each collection.
With a LINQ query
With a SQL query
Pagination on a LINQ query
- The FeedOptions is used to set the RequestContinuation property obtained on the first query:
- You can always call once and return the Continuation Token to the client, so the paginated request is sent when the client wants the next page. Using a helper class and an extension: