Entity framework - “Problem in mapping fragments”-error. Help me understand the explanations of this error

后端 未结 12 1817
不知归路
不知归路 2020-12-15 02:49

Error 3007: Problem in Mapping Fragments starting at lines 186, 205: Non-Primary-Key column(s) [WheelID] are being mapped

12条回答
  •  误落风尘
    2020-12-15 03:17

    I was able to overcome this problem by the following steps: right click the designer window Select 'update model from database' Select Add AND make sure that the 'Include foreign key columns in the model' checkbox is selected. click on Finish...

提交回复
热议问题