From: <meg...@ya...> - 2004-01-31 02:02:14
|
Hello Carlos, You had asked about the exception I'm facing while this peace of code is executed in .NET Provider RC2 FbParameter fbParam = new FbParameter("@no_of_days",4); This is what the exception I've got Message : Incorrect values within SQLDA structure Source : FirebirdSql.Data.Firebird TargetSite : FirebirdSql.Data.Firebird.FbDataReader ExecuteReader(System.Data.CommandBehavior) By casting it with (object), the FbException doesn't comes. FbParameter fbParam = new FbParameter("@no_of_days",(object)4); As for the thread-safe nature of OracleHelper Library by Microsoft, I found that there are no member variables to be shared across various instances and all the mehods just work on local variables. As there is nothing to be shared, I 'assumed' it to be thread safe. (I'm not including the ParameterCollectionCache, as I'm not using it). Is there anything else to be taken care of while looking at thread safety? Will be more than happy if u can make it clear. Thanx. Mahesh. --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 |