C# dbml stops linking tables to code
Posted
by Philip
on Stack Overflow
See other posts from Stack Overflow
or by Philip
Published on 2010-05-03T19:45:20Z
Indexed on
2010/05/03
19:48 UTC
Read the original article
Hit count: 411
I am having occasional trouble with my C# dbml where it starts not linking properly.
I do not know how to replicate the exact cause of the problem, it was working perfectly until I changed a database table and then deleted the table and readded it with the new schema. The error message I get is "The type or namespace name 'tbl' could not be found (are you missing a using directive or an assembly reference?)
The only fix I have found is to make a new dbml readd the tables.
Any ideas what to do or why this is happening?
© Stack Overflow or respective owner