Hello,
this work good at me.
Before first transaction add:
'This is current database
dim db As Database = HostApplicationServices.WorkingDatabase
'Here we will disable partial undo recording
db.DisableUndoRecording(True)
'Here is our code for any number transactions
...
'On end we add
db.DisableUndoRecording(False)
Best regards,
Danijel