Summary:
Recently I stepped on a pit SQLite database to record it.
Problem Description:
Database tables need to add a field, then added a field to manually save when this error was born, I could not tell this column, but he is obviously a table. Confused, Internet search, this error, most of the time to insert a record of reported wrong, and then did not find similar descriptions.
Given as follows:
The database is dynamically created using Code First, the original SQLite support for EF's not very good, then I suspect that the pot EF create the database, and then manually create a table, you can add fields was no problem ,,, but when I again plus field when the issue came out again. Then I put the primary key removed, the new field is saved again succeeded ~~~~~~
Solution:
Remove the primary key, and then add fields, then after the primary key is set back, problem solved. Somehow resolved, why in the end, how such a strange question will be, I'm still confused, if anyone knows, please leave me leave a message.