'Entity Framework New Table Error ...is a type, which is not valid in the given context
I added a new table to my SQL Server database, then updated my EF .edmx with the new table. Now in my existing class that I use to manage changes to the data, I cannot create a new object of this new table. When I try
Table1 table1 = new Table1();
I get an error that "Table1" is a type, which is not valid in the given context. I have compared the automated EF code for the new table to the other existing tables I have and it all looks the same. Any suggestions? I am not sure how this time the behavior is different.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
