Object of type 'System.Int64' cannot be converted to type 'System.Int32'.!
Recently, I am writing a SQLite database, and the type of the primary key is INTEGER. If you use int directly to obtain it, an error will be reported, System.ArgumentException: Object of type 'System.Int64' cannot be converted to type 'System.Int32'.
Solution: Just change the Id to long
type