I'm getting this error:
while trying to run this command in Package Manager Console Scaffold-DbContext "server=localhost;port=3306;user=root;database=frisbee_admin" MySql.Data.EntityFrameworkCore -OutputDir Models -f
Any Idea why ?
Try it as follows:
Scaffold-DbContext -Connection "server=localhost;port=3306;user=root;database=frisbee_admin" -Provider MySql.Data.EntityFrameworkCore -OutputDir Models -context YourDbContext -Project YourProjectName -Force