public void DeleteDocumentsExcept(params Type[] documentTypes) { _schema.AllDocumentMaps().Where(x => !documentTypes.Contains(x.DocumentType)).Each(x => { x.DeleteAllDocuments(_factory); }); }