-
Jul 26th, 2016, 03:27 PM
#1
Thread Starter
Frenzied Member
Entity Framework error 11007
So I have this project where we have an edmx file that defines the entity framework relationship for the project. Normally this is maintained by somebody else, but today I'm working with it. I've added several entities to the diagram and then added the tables to the database. When I try to validate the EntityModel, though, all but one of the tables gives an 11007 error - Entity type '{whatever}' is not mapped.
I googled this error and what I see is that this is caused by the underlying table not being present. But in my case it is.
I double checked to make sure the EntityModel was pointing to the correct database, which it is. I also checked the table that's not showing the error to see if there was some difference between it and the others - nothing showed. Not being that familiar with the design and setup of edmx files, I'm unsure what's going on.
Has anyone else seen anything like this before?
I always add to the reputation of those whose posts are helpful, and even occasionally to those whose posts aren't helpful but who obviously put forth a valiant effort. That is, when the system will allow it.
My war with a browser-redirect trojan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|