Entity Framework throws exception - Invalid object name 'dbo.BaseCs'

后端 未结 12 930
挽巷
挽巷 2020-11-30 11:59

I\'ve followed Adam\'s answer here and the Entity Framework now works and the Seed() method also works.

But when I try to access the database l

12条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 12:38

    EF is looking for a table named dbo.BaseCs. Might be an entity name pluralizing issue. Check out this link.

    EDIT: Updated link.

提交回复
热议问题