var uploader = new BulkUploader(context);
uploader.Insert(items); // first insert
context.SaveChanges(); // will insert items one more time
The snippet above shows minimal steps to reproduce, basically after bulk insert the state of entries remains Added and subsequent call to SaveChanges will apply all the changes (entries Added) one more time.
The snippet above shows minimal steps to reproduce, basically after bulk insert the state of entries remains Added and subsequent call to SaveChanges will apply all the changes (entries Added) one more time.