Last post Apr 16, 2018 10:09 AM by Mikesdotnetting
Apr 16, 2018 06:38 AM|pantonis|LINK
I am using EF Core Code first and I have an issue when using multiple DB providers (SQL Server and MySql). Even when I choose to use MySql DB provider, SQL server migration files are used.
Check the sample project
Thanks in advance
Apr 16, 2018 10:09 AM|Mikesdotnetting|LINK
When you execute the migration, you should specify the context to use. Use the -c option with CLI commands (https://www.learnentityframeworkcore.com/migrations/commands/cli-commands)
or -Context if you are using the PMC: https://www.learnentityframeworkcore.com/migrations/commands/pmc-commands#update-database