流程:
https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/new-db
1.Both Entity Framework 6.x and Entity Framework Core commands are installed. The Entity Framework 6 version is executing. You can fully qualify the command to select which one to execute, 'EntityFrameworkUpdate-Database' for EF6.x and 'EntityFrameworkCoreUpdate-Database' for EF Core.
使用:
EntityFrameworkCoreAdd-Migration InitialDb
EntityFrameworkCoreUpdate-Database
2.报错:无法识别的转义序列 blabla
项目路径不要有中文