According to the dapper docs one can write
connection.Execute(@\"insert into MyTable(colA, colB) values (@a, @b)\", new[] { new { a=1, b=1 }, new { a=2, b=