http://bugzilla.novell.com/show_bug.cgi?id=497715


           Summary: SqlParameter not handling SqlDbType.Xml / DbType.Xml
                    ("No mapping exists ...")
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: i386
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data.SqlClient
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.9)
Gecko/2009042113 Ubuntu/9.04 (jaunty) Firefox/3.0.9

When working with SqlParameter of type Xml, Exceptions are thrown.

Ex:
ArgumentOutOfRangeException
"No mapping exists from SqlDbType Xml to a known DbType."

Reproducible: Always

Steps to Reproduce:
1. Create a new SqlParameter
2. Set SqlParameter.SqlDbType = SqlDbType.Xml
3. Get exception
Actual Results:  
Exception

Expected Results:  
Correct internal handling (treat as strings perhaps)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to