[Mono-bugs] [Bug 497715] SqlParameter not handling SqlDbType.Xml / DbType.Xml ("No mapping exists ...")

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 8 07:48:48 EDT 2009


User jonas.larsson at manodo.se added comment

--- Comment #1 from Jonas Larsson <jonas.larsson at manodo.se>  2009-05-08 05:48:48 MDT ---
Created an attachment (id=290964)
 --> (http://bugzilla.novell.com/attachment.cgi?id=290964)
Patch adding support for Xml in SqlParameter

The attached patch adds support for Xml to SqlParameter. I have tested this
against MS SQL server 2005 with no problems at all. All interaction with
columns of type Xml are working just like in .net.

Since all attempts to use Xml without this patch throws exceptions and with it
SQL Server 2005 works, I think that it can be committed without problems.

I couldn't come up with a useful unit test so that's unfortunately missing.

Configure bugmail: http://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