EF CodeFirst: Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong

前端 未结 10 2254
Happy的楠姐
Happy的楠姐 2020-12-13 23:35

I\'ve a table named EducationTypes and an Entity named EducationType, I renamed one of entity properties, now I\'m frequently getting Either

10条回答
  •  臣服心动
    2020-12-14 00:09

    I resolved this error by deleting all the old migrations from My database Migration history table in SQL server and then adding a new one but only for the desired changes and then updated database.It worked fine.

提交回复
热议问题