I have a MySQL database sitting in Amazon Cloud (RDS). It is a tiny database with only one table.
I want to use EF Core, Database First. I know that the Pomelo.EntityFrameworkCore.MySql
package is popular, but I cannot see any information on how to achieve a scaffolding of the Db Context via that package.
I followed the instructions here whilst replacing MySql.Data.EntityFrameworkCore.Design
with Pomelo.EntityFrameworkCore.MySql
but when I ran the command below in Package Manager Console:
Scaffold-DbContext "Server=my-db.rds.amazonaws.com;database=TestDb;uid=blah;pwd=blah;" Pomelo.EntityFrameworkCore.MySql -OutputDir Models -f
I just got the error:
The specified framework version '2.0' could not be parsed
What am I missing? Here's how my dummy solution looks