EntityFrameworkCore With Mysql Common Error - Unable to create a 'DbContext' of type ...

Опубликовано: 30 Июнь 2026
на канале: Mustapha Othman
115
0

Resolve common error encountered when trying to set up EntityFrameworkCore with Mysql.

Link to Les Jackson's EntityFrameworkCore Tutorial:
   • Step by Step - Entity Framework  

Link to mysql EntityFrameworkCore Documentation:
https://dev.mysql.com/doc/connector-n...

I later found out the reason the Mysql code wasn't output in the migrations in the video was because I forgot to create getters and setters methods for the Cars and Persons DbSets in the AppDbContext class.