Hi,
I just installed the EFCore and have migrations for MySQL on separate assembly
In order to provide the migrations assembly I use the following snippet
var optionsBuilder = new DbContextOptionsBuilder<MyDbContext>();
optionsBuilder.UseMySQL("connection_string");
var p = new MySQLDbContextOptionsBuilder(optionsBuilder);
p.MigrationsAssembly("migrations_assembly");
Please add the Missing overload in UseMySQL extension with Action<MySqlDbContextOptionsBuilder> parameter in order to to simplify this scenario and be consistent with the other providers
Regards,
Michael
I just installed the EFCore and have migrations for MySQL on separate assembly
In order to provide the migrations assembly I use the following snippet
var optionsBuilder = new DbContextOptionsBuilder<MyDbContext>();
optionsBuilder.UseMySQL("connection_string");
var p = new MySQLDbContextOptionsBuilder(optionsBuilder);
p.MigrationsAssembly("migrations_assembly");
Please add the Missing overload in UseMySQL extension with Action<MySqlDbContextOptionsBuilder> parameter in order to to simplify this scenario and be consistent with the other providers
Regards,
Michael