Base solution for your next web application
Open Closed

Multi dbContext with mixed type (MSSQL & MySql) #10248


User avatar
0
andmattia created

Abp 4.8.1 / EF Core 2.2

We are moving from .Net to .Net Core so now we need to convert a part where we need to call a remote MySql Server. In the past version we add a same issue and we solve it via Database.SetInitializer(null); but in EF Core this strategy cann't be applied.

Releted to our old thred Multi Db Context MySQL / MSSQL

Anyone has found a way to do that?


1 Answer(s)
  • User Avatar
    0
    andmattia created

    I fonud a typing error we use IDbSet in place off DbSet.

    I fix and it works.