從 EF6 移植至 EF CorePorting from EF6 to EF Core

因為 EF Core 在本質上有所變更,我們不建議嘗試將 EF6 應用程式移至 EF Core,除非您有充足的理由進行該變更。Because of the fundamental changes in EF Core we do not recommend attempting to move an EF6 application to EF Core unless you have a compelling reason to make the change. 您應該將從 EF6 移至 EF Core 視為移植,而非升級。You should view the move from EF6 to EF Core as a port rather than an upgrade.