DbExtensions adds BulkInsert, BulkUpdate, BulkDelete, and BulkMerge to the same connection Dapper already uses. One extra using. No new client. That is why it fits Dapper so well — and any other ADO.NET code.
Still writing this?
foreach(varcustomerincustomers)connection.Execute("INSERT INTO Customer (Id, Name, City) VALUES (@Id, @Name, @City)",customer);
One call instead — and much faster
connection.BulkInsert(customers);
The second snippet is not just shorter. On SQL Server, 5,000 inserts took 8 seconds with the loop and 70 ms with BulkInsert() — about 110× faster. Update, delete, and merge follow the same pattern.