[Mono-dev] System.Data.OracleClient.OracleParameter.SetOracleType() bug?
iamwind
iamwind76 at hotmail.com
Sat Oct 1 06:31:46 EDT 2011
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!
Who can fix it in
System.Data.OraceClient/System.Data.OracleClient/OracleParameter.cs?
--
View this message in context: http://mono.1490590.n4.nabble.com/System-Data-OracleClient-OracleParameter-SetOracleType-bug-tp3855825p3862499.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list