From:
<car...@te...> - 2004-04-29 09:30:58
|
Hello: > This is the important point: what do other providers do? If none of > them throw an exception, then the Firebird provider shouldn't. If some > do and some don't, then it's a matter of opinion, but if the most > common ones, e.g. SQL Server, don't then probably FB shouldn't either. Reviewing the .NET 1.1 documentation we can see that: * SqlClient, Odbc and OleDb providers has CommandTimeout, none of them throws exception * OracleClient doesn't have CommandTimeout property as public, it will be accesible making explicit usage of the IDbCommand interface: ((IDbCommand)oracommand).CommandTimeout = 10; Making that doesn't throw exception. That from the Microsft providers, from the opensource ones for other RDBMS, there are at least one that throws exception. I think that probably the best will be to make the same as the OracleClient provider. Opinions ?? -- Best regards Carlos Guzmán álvarez Vigo-Spain |