示例#1
0
 private static void DeleteDocs(IEnumerable<JToken> rows, IDocumentDatabase db)
 {
     var docs = rows.Select(row => BulkDeleteDoc(row.Value<string>("id"), row["value"].Value<string>("rev"))).ToList();
     db.SaveDocuments(new Documents { Values = docs }, false);
 }