EF Data migrations won't detect changes when adding new migration

后端 未结 16 1900
情话喂你
情话喂你 2020-12-09 14:53

I am using Entity Framework 5.0 Data migrations along with code first. When i add a new field to my model and execute the following command in the package manager console.

16条回答
  •  既然无缘
    2020-12-09 15:22

    If you are using fluent api to set up your configurations for the DbSets then you won't have any problems with it

提交回复
热议问题