Open GoogleCodeExporter opened 8 years ago
So change SetupCommand to something like:
private static IDbCommand SetupCommand(IDbConnection cnn, IDbTransaction
transaction, string sql, Action<IDbCommand, object> paramReader, object obj,
Action<IDbCommand> commandCustomization, CommandType? commandType)
And the calls accordingly. Can still provide overrides that allow for
backwards compatibility.
Original comment by p...@paultyng.net
on 19 Jan 2012 at 3:24
[deleted comment]
Was able to get around this using a custom DbConnection implementation that
wrapped CreateCommand:
https://gist.github.com/1952498
Allows me to do global modifications to command objects, of course doesn't let
me do granular control.
Original comment by p...@paultyng.net
on 1 Mar 2012 at 7:36
Original issue reported on code.google.com by
p...@paultyng.net
on 19 Jan 2012 at 3:08