I used the advice given in the aforementioned site to improve the efficiency of the entity framework for bulk updates and inserts.
DbContextobject changes after each save
I experienced the predicted performance gain.
However, I must roll back the transaction when an exception condition is met while carrying out a bulk insert.
When we re initialise the system, this problem arises.
If the exception condition applies, is there any method to utilise the transaction and rollback with the same setup?
I would appreciate any assistance.