Hi Jiri

> Cancelation of query in FirebirdClient makes sense only via API. And
> for MON$xxx this must be done using another connection. And only on
> FB2.1.
> 
> In fact, you can easily extend your class to do this. I don't think,
> this is issue of FirebirdClient until it's not in API.

I have read Firebird_v2.1.0.ReleaseNotes.pdf and on page 104 is describe a
rudimentary mode to cancel all statements from existing connection! That's
the reason I asked, because a statement can be canceled via sql statement!
I think is possible in Cancel method to create a new connection to cancel
the current command, but you are right, should be API for this!
It's interesting in multi threaded applications...for that the FbCommand
should know which statement id is assigned to!

Best regards,
Paul




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to