.Net core entity framework class library add exisiting MySql db code example
Example: scaffold mysql database
Scaffold-DbContext "server=(ip address);user=(username);password=(Password);database=(database name)" "Pomelo.EntityFrameworkCore.MySql" -OutputDir (folder name) -f