Log Message:
-----------
Added casts when parameter is null. This was causing problems with prepare statements when parameter type was set to a
valueother than DbType.Object and its value was set to null. The prepare statement wasn't receiving the cast. Thanks
WaldemarBergstreiser (wbr at bergstreiser dot com) for heads up.
Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlParameter.cs (r1.17 -> r1.18)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlParameter.cs.diff?r1=1.17&r2=1.18)