Embarcadero / IB.NETDataProvider

InterBase database .NET Data Provider
Other
12 stars 7 forks source link

Guidance on dealing with database connection loss with IBEvents #13

Open NickBarrett opened 2 years ago

NickBarrett commented 2 years ago

Hi there,

Is there any guidance with how we should deal with a loss of database connection from the server side when using the new IBEvents?

At first we tried using IBConnection's StateChange event but this only fires when the client is initiating the change (ie: on calling Open() or Close()). It does not fire if the InterBase service were to stop (whether gracefully or not).

Thanks,

Nick