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
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to