The following code retrieves all CrawlResult documents with a specific jobId.
var result = (from c in documentDb.CreateDocumentQuery<Shared.CrawlResult>(collection.SelfLink)
where c.JobId == jobId
select c);
Now I want to delete all documents with this specific jobId. The only way to delete documents I found was:
documentDb.DeleteDocumentAsync(string documentLink)
But how do I get the documentLink to execute the documentDb.DeleteDocumentAsync()?