optionsBuilder UseMySQL missing override to provide MigrationsAssembly
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
Subject
Written By
Posted
optionsBuilder UseMySQL missing override to provide MigrationsAssembly
August 30, 2016 07:05AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.