Efficiently inserts multiple rows, in batches as necessary.
public static int BulkInsert<TInsert>(this IDbConnection connection, string sql,
IEnumerable<TInsert> insertParams, IDbTransaction transaction = null, int? batchSize = null)
Efficiently inserts multiple rows, in batches as necessary.
public static int BulkInsert<TCommon, TInsert>(this IDbConnection connection, string sql, TCommon commonParam,
IEnumerable<TInsert> insertParams, IDbTransaction transaction = null, int? batchSize = null)