Open GoogleCodeExporter opened 8 years ago
The null vs DBNull issue is a constant cause of confusion; however, *generally*
if people say `null` in C# they intend `null` in SQL. This is the approach that
dapper adopts. Since you are using `DynamicParameters`... maybe just don't add
it?
Note that *in the general case*, `new {contactid=contact.Id,
isactive=contact.IsActive}` would be easier, but in this example
`DynamicParameters` is perhaps useful.
Original comment by marc.gravell
on 29 Jul 2011 at 9:51
Original issue reported on code.google.com by
jslayba...@gmail.com
on 29 Jul 2011 at 9:18