开发者

Entity Framework exception: Invalid object name 'Navigation'

开发者 https://www.devze.com 2023-01-15 11:01 出处:网络
I have an Entity Object called Navigation stored in a Database called Navigations. When I save the Entity calling

I have an Entity Object called Navigation stored in a Database called Navigations. When I save the Entity calling

context.SaveChanges();

I get the error

Invalid object name 'Navigation'.

I have removed the model and added it bac开发者_开发知识库k in but with no change. Does anyone have any ideas?


I found the problem in a trigger that was referencing the table in a singular 'Navigation'.

0

精彩评论

暂无评论...
验证码 换一张
取 消