错误信息:Unexpected exception occurred when generating the model .See output window for more details , Exception message :Missingmethodexception : Method not found : BooleanSystem.Data.Entity , Core.Common.Dbprovidermanifest.Suptsparameteroptimizationinschemaqueries
原因:程序里有多个项目,项目的EntityFramework包版本不同
解决办法:进入 tools->Nuget Package Manager->Manage Nuget Packages for solution
选中所有项目,更新version