Solved: Unable to create an object of type 'DbContext'. For the differens patterns supported at desi

preview_player
Показать описание
Solved: Unable to create an object of type 'DbContext'. For the differens patterns supported at design time go to microsoft website.
Solution : You can check the yellow color warning just before the error.
Рекомендации по теме
Комментарии
Автор

but i dont have the builder.Services.AddScoped in my program.cs so what is the problem with this error

icnjujr
Автор

Thanks for helping me. Looking at your video, I remembered to include the line and it solved it. I'm working with 3 Database Context.



// <-- Just include this line and it worked.

AlexPimentaSenior