Ngugi1 / sqlite-net

Automatically exported from code.google.com/p/sqlite-net
0 stars 0 forks source link

No support for enums that inherit from byte or long #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce, insert and select an instance of MyClass defined below:

public enum MyEnum : byte 
{
     One = 1,
     Two = 2
}

public class MyClass
{
    public MyEnum MyProperty;
}

ClassCastException is thrown. An overflow exception is thrown when MyEnum 
inherits from Int64 (long).

Original issue reported on code.google.com by diego...@gmail.com on 18 Apr 2013 at 7:30