System.ArgumentException: Object of type ‘System.Int64‘ cannot be converted to type ‘System.Int32‘
最近在写SQLite数据库,然后主键的类型是INTEGER,如果直接用int来获取,会报错,System.ArgumentException: Object of type ‘System.Int64’ cannot be converted to type ‘System.Int32’。解决方法:把Id改为long类型就可以此教程为SQLite踩过的那些坑,记录以免其他兄弟踩...
原创
2022-06-22 17:22:38 ·
2070 阅读 ·
1 评论