Migrate Entity Framework 4.0 to Core
问题 I have an old project developed with the Entity Framwork 4.0 which uses some complex types. Since I need to migrate it to .NET Core, I created a new project, installed all required libraries and used the command PM> Scaffold-DbContext "Server=ServerInstance; Database=DBName; Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models on the existing database in order to create the new models. The problem is that it does not generate the complex type classes. I can