I realize that SQLite doesn't provide enough information to decide whether the column should be Int32, Int64 or something else (since there is only one storage class for all integer types), so to avoid this kind of issue, integer values should be mapped as Int64. Unsigned values larger than Int64.MaxValue shouldn't never occur, since SQLite only stores signed integers up to 8 bytes (http://sqlite.org/datatype3.html)
(LINQPad beta 4.38.04)
This post has been edited by Thomas Levesque: 01 March 2012 - 01:50 AM














