Linq to sql Invalid column name
- by Ivo
I am using VS 2010 and Linq-to-sql
I have deleted a couple of columns from my table, whatever I try I keep getting and "invalide column name" error with the old/deleted column when I try to insert a record.
What tried:
remove table,save, and drag it back on
create new dblm with an other name
created new project and create new dbml there
Also the name of the deleted column does not exist in the generated code of the dbml anymore, but still I get an exception saying that column does not exists.
Anyone got a suggestion how to solve this problem?