Aaron Bockover wrote:
> Attached is a patch that will return an Int64 for INTEGER columns unless
> the value can fit in an Int32, in which case it will return an Int32.
> Also changed from DateTime.Parse to DateTime.ParseExact. I'm not sure if
> I'm doing the proper thing with the culture. I'm pretty sure it returns
> UTC.

Why do you say that dates are in "yyyy-MM-dd HH:mm:ss" format?  It
depends on how they were put into the database -- probably the local
encoding if they're put in with DateTime.ToString(), right?

Also, checking if the long fits into an int, the negative lower bound
has to be checked too, I guess.  (Don't worry about resending a patch
just for that tho.)

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to