title: Bulk-Insert to MySQL in Entity-Framework Core
body: <p>I have a list consisting of ~10,000 objects (let's say of class <code>Person</code>) that I need to insert to a MySQL table. If I use the regular <code>DbContext.SaveChanges()</code>, it takes 60-70 seconds to issue, which I need to reduce drastically. I've found several extensions for bulk-insertions:</p>
  
  <ul>
  <li><a href="http://entityframework-extensions.net" rel="noreferrer">EF extensions</a> (not free, so no option)</li>
  <li><a href="https://github.com/tiagoln/BulkExtensions" rel="noreferrer">BulkExtensions</a> (no MySQL, only SQL Server)</li>
  <li><a href="https://github.com/andreisabau/EFBulkInsert" rel="noreferrer">EFBulkInsert</a> (no MySQL,only SQL Server)
  ...</li>
  </ul>
  
  <p>Unfortunately, non seem to exist for MySQL databases. Does anybody know of one for MySQL? If not, could anyone give me an approach as to how I could make my own or adjust the aforementioned solutions? Thank you!</p>