Bug #4387 Add a ReaderClosed event
Submitted: 2 Jul 2004 20:45 Modified: 6 Nov 2007 17:34
Reporter: Reggie Burnett Email Updates:
Status: Won't fix Impact on me:
None 
Category:Connector / NET Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Reggie Burnett CPU Architecture:Any

[2 Jul 2004 20:45] Reggie Burnett
Description:
Hi

I am requesting for a ReaderClosed-event for the MySQLDataReader-class. I believe it could be very helpful when tracking down which of the available connections are in use. Currently I am using a wrapper-function for the
dr.Close() method (which releases the connection attached to the datareader).

In other words - when dr.Close is called, a ReaderClosed-event would be raised maybe with the attached Connection object in parameters. I would do it myself (and actually tried, without acceptable results) but I don't have enough C# expriece yet on some parts, I'm more familiar with VB.NET.

Thanks, I believe this isn't a big change but more likely useful :)

By the way, ByteFX client owns, great job.

Mikko Korkalo
F-Solutions Oy

gsm: +358 50 9104329
addr: PL 161, 26101 Rauma, Finland

How to repeat:
not entered

Suggested fix:
not entered
[6 Nov 2007 17:34] Reggie Burnett
This would encourage improper .NET coding technique.  Won't fix.