Enable-Migrations Exception calling “SetData” with “2” argument(s)

后端 未结 8 1747
小鲜肉
小鲜肉 2020-11-29 09:45

I created a library based on .NET 4.6.2 version.
To the library, I\'ve added the EntityFramework version 6.1.3 package.
I created a model as follow



        
8条回答
  •  感动是毒
    2020-11-29 10:39

    I also had 2 versions of EF installed and using "EntityFrameworkCore\Add-Migration [migrationname]" command to specify which version to use solved the issue.

提交回复
热议问题