[Mono-dev] [PATCH] Small SqliteClient improvments.

Joshua Tauberer jit at occams.info
Wed Sep 13 14:54:41 EDT 2006


Jb Evain wrote:
> Miguel de Icaza wrote:
>>> The attached patch implements the GetBytes method for SqliteDataReader
>>> and also converts enums to integer automatically when saving the data
>>> to DB.
>>>
>>> Is it ok to commit?
>> Joshua approved it.
> 
> Isn't there is a problem with the handling of enums when their 
> underlying type is not an Int32?

Heh, ok, we even had a Cecil-related discussion about that and I still
didn't catch it.

Probably Convert.ToInt64(value) will do the trick.

-- 
- Joshua Tauberer

http://razor.occams.info

"Strike up the klezmer and start acting like a man. You're
about to have a truth-mitzvah."  -- The Colbert Report



More information about the Mono-devel-list mailing list