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

前端 未结 10 2240
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-13 23:52

    Steer clear of reserved words or class names in your migration title.

    This happened to me when I named a migration "Init" - renamed to "InitialCreate" and all worked perfectly

提交回复
热议问题