Bug #7258 MySqlCommand.Connection returns an IDbConnection
Submitted: 14 Dec 2004 10:09 Modified: 14 Dec 2004 13:02
Reporter: Pent Ploompuu Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:1.0.3-gamma OS:
Assigned to: Reggie Burnett

[14 Dec 2004 10: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 13: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