SCM

[#1010717] Event OnStateChange not fired

View Trackers | Bugs | Download .csv | Monitor

Date:
2009-10-12 10:47
Priority:
3
State:
Open
Submitted by:
Thomas Haberle (matrix-ntn)
Assigned to:
Nobody (None)
Npgsql Version:
2.0
Category:
Group:
Resolution:
None
Summary:
Event OnStateChange not fired

Detailed description
Hello,

in my programm i have implemented the OnStateChange Event.
But if the connection was broken the OnStateChange Event was not fired.

Why?
This Event is from the DBConnection class:
public virtual event StateChangeEventHandler StateChange

Best regards
Matrix-NTN

Followup

Message
Date: 2009-12-02 19:36
Sender: Josh Cooley

If you are interested in the broken event, it's likely the notification wouldn't be useful to you. We usually don't know that the connection is broken until you attempt to run a query.
Date: 2009-10-12 10:49
Sender: Thomas Haberle

I use the Version 2.0.6 of Npgsql

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge