EFCore: The ConnectionString property has not been initialized.

使用NuGet的程序包管理控制台执行命令“update-database”的时候报出该错误

EFCore: The ConnectionString property has not been initialized._第1张图片

经过检查发现是optionsBuilder.UseSqlServer(strConn);中的strConn没有写

你可能感兴趣的:(efcore,bug,asp.net)