Ejemplo n.º 1
0
        public override void BulkDelete(DocumentContext context, DocumentTransaction transaction)
        {
            var formatting = context.Formatting == Format.Indented ? Formatting.Indented : Formatting.None;
            var json       = new JSONSerializer(Logger);
            var map        = new DocumentMap(context.Primary, context.Primary);

            json.DeleteRows(context.Storage, context.Documents.Select(d => d.Data).ToList(), map, formatting);
        }