The problem is that I need to update 15,000 rows by deleting them and reinserting them. This should happen in one transaction. When I delete lines in a row line by line, this happens very slowly. The insert is going fine.
Is it possible to execute the ExecuteSqlCommand statement in the same transaction as the savechanges context with insert statements?
source
share