npgsql - Npgsql2: Added method AddWithValue and made Add(String,

Started by Nonameover 16 years ago1 messagescomitters
Jump to latest
#1Noname
fxjr@pgfoundry.org

Log Message:
-----------

Added method AddWithValue and made Add(String, object) obsolete and this was causing ambiguity problems with Add and NpgsqlDbType and DbType. See http://pgfoundry.org/tracker/index.php?func=detail&aid=1010714&group_id=1000140&atid=590 and http://pgfoundry.org/tracker/index.php?func=detail&aid=1010715&group_id=1000140&atid=592 for more details. Thanks Gildas (prime.gildas @nospam@ gmail.com) for heads up and discussion about that. Note that the issue of adding a new method which takes a DbType parameter is not finished yet. We should check if this is still needed.

Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlParameterCollection.cs (r1.9 -> r1.10)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlParameterCollection.cs?r1=1.9&r2=1.10)
Npgsql2/testsuite/noninteractive/NUnit20:
CommandTests.cs (r1.32 -> r1.33)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/NUnit20/CommandTests.cs?r1=1.32&r2=1.33)