“Update Model from Database” does not see a type change

后端 未结 8 1117
迷失自我
迷失自我 2020-12-10 00:54

I have several columns that I changed from Int to BigInt.

I opened up my EF model and did an \'Update Model from Database\' and expected to see those columns now be

8条回答
  •  天命终不由人
    2020-12-10 01:37

    Also if you work with MySQL on Windows - recreating model may also wont help. Schema is somehow cached in MySQL. So if model is not updated even after recreation try to restart MySQL service and VS to be sure. After that model should be successfully updated.

提交回复
热议问题