score:1

Accepted answer

I found the solution :

I had to pass in SaveChangesOption to the service.SaveChanges() method :

      service.SaveChanges(SaveChangesOptions.Batch);

Related Articles