Re: [Mono-dev] System.Data.OracleClient.OracleParameter.SetOracleType() bug?
Tom Spink wrote: Well, without any other context, I'd do this: /// if (value == null) valType = typeof(System.DBNull); else valType = value.GetType(); /// Which means for a 'null value', the 'value type' would be DBNull. Hope this helps, -- Tom Spink That's better!
[Mono-dev] System.Data.OracleClient.OracleParameter.SetOracleType() bug?
the source code: private void SetOracleType (OracleType type, bool inferring) { FreeHandle (); Type valType = value.GetType (); string exception =