Bug #7258 MySqlCommand.Connection returns an IDbConnection
Submitted: 14 Dec 2004 11:09 Modified: 14 Dec 2004 14:02
Reporter: Pent Ploompuu
Status: Closed
Category:Connector/Net Severity:S3 (Non-critical)
Version:1.0.3-gamma OS:
Assigned to: Reggie Burnett Target Version:

[14 Dec 2004 11:09] Pent Ploompuu
Description:
MySqlCommand.Connection should return MySqlConnection (SqlCommannd.Connection returns
SqlConnection)
and MySqlCommand.Transaction should return MySqlTransaction
and MySqlTransaction.Connection should return MySqlConnection

How to repeat:
...

Suggested fix:
explicitly implement IDbCommand.Connection, IDbCommand.Transaction and
IDbTransaction.Connection properties and make separate public
MySqlCommand.Connection,MySqlCommand.Transaction and MySqlTransaction.Connection
properties
[14 Dec 2004 14:02] Reggie Burnett
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html