[Mono-bugs] [Bug 421336] DbCommandBuilder throws exceptions on command creation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 21 06:35:56 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=421336

User christian_hoff at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=421336#c11





--- Comment #11 from Christian Hoff <christian_hoff at gmx.net>  2008-09-21 04:35:53 MDT ---
Created an attachment (id=240725)
 --> (https://bugzilla.novell.com/attachment.cgi?id=240725)
New patch

The new SVN version of the CommandBuilder still has this problem with the
IsNull params; it hasn't been fixed properly. Therefore I just omitted them
since they aren't needed(they are just there to indicate whether a column can
be NULL and since they are only generated when this is the case, their value is
always "true" or "1"). The fact that MS .NET generates them doesn't mean that
we have to do so, too.

I also added a few checks for DBNull.

You can use the test case to test the changes, but I just noticed that the
calls to DataRow.AcceptChanges must be deleted to make it work(AcceptChanges
deletes the change history and therefore nothing is updated).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list