Reputation: 4572
I had an issue with EF not pulling in the Foreign Key relationships when doing an Update Model From Database. So I just deleted the .edmx file and regenerated it. The problem is that my context type was named InventoryMgmtContext, and now I am getting the error
The type of namespace InventoryMgmtContext could not be found.
Where/how can you rename the context?
Upvotes: 16
Views: 10106
Reputation: 17300
Entity Container Name
value to the name you want:Upvotes: 35