[Mono-bugs] [Bug 412576] New: SqlCommand: InvalidOperationException should not be thrown when setting Connection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 28 06:09:19 EDT 2008


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


           Summary: SqlCommand: InvalidOperationException should not be
                    thrown when setting Connection
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data.SqlClient
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Currently, we throw an InvalidOperationException when Connection is set while a
transaction is in progress. MS does not do this.

The MS implementation apparently does not match the docs, so I've filed a
(documentation) bug report against them:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=357072

I'll update our implementation accordingly, and add unit tests.


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


More information about the mono-bugs mailing list