SamSaffron/dapper-dot-net — pull request #37 by kappy (2012-06-11 16:20:45+00:00)
Title: Adding some common used overloads for Query, Execute and QueryMultiple

I find myself using this when working on older runtime versions:
.Execute("UPDATE foo ...", params, transaction, null, null)
Or
.Query("spGetObj", id, null, true, null, CommandType.StoredProcedure)

I think that fundamentally, all those defaults trues and nulls, are a lack of usability for older runtime versions.
At least CommandType and Transaction are of greater use.

This ammount of overloads, introduce a lot of lines of code without greater biz logic, and could incur in maintenance nightmare.
To minimize this, these overloads could be enclosed on a region (again, no greater biz logic come from them).

There's an alternative to this approach, with default and named arguments (as is on "Normal" version), but this way we loose the language specification previous to VS2010.

As said on the start of SqlMapper.cs, "This is a compromise".