Re: Argument type 'MySql.Data.MySqlClient.MySqlTransaction' is not CLS-compliant
Posted by: Bill Angus
Date: November 14, 2005 11:16AM

General information is that the "not CLS compliant" message means that the object is not guaranteed to work accross all languages which may be written to use the .NET CLS.

Some of Microsoft's visual basic windows classes for example, are not fully cls-compliant (or could not be made fully CLS compliant), and therefore also throw the same warning message when you use them. These Microsoft VB classes are of course usable in VB, but might or might not be usable in another CLS-language. The exact requirements for CLS compliance are specified on Microsoft's web-site.

Klaus gave a much better explanation below as to what it is about the myConnector/net classes which might be causing this warning message. Reggie would know much more of the specifcs as he wrote the connector and is proably working hard on the next edition at this time :))

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.