• get-help entityFramework          NuGet命令
  • Add-Migration                       Adds a new migration. 新创建Model或者Model 进行改变,会生成一些sql语句(只是生成,没有执行)
  • Drop-Database                          Drops the database.
  • Get-DbContext                          Gets information about a DbContext type.
  • Remove-Migration                     Removes the last migration.
  • Scaffold-DbContext                   Scaffolds a DbContext and entity types for a database.
  • Script-Migration                         Generates a SQL script from migrations.
  • Update-Database                      Updates the database to a specified migration.  在更能数据库时,可以使用 Update-Database -verbose命令来查看详细更新情况

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-12-04
  • 2022-12-23
猜你喜欢
  • 2022-01-08
  • 2022-12-23
  • 2021-12-29
  • 2021-12-14
  • 2021-06-09
相关资源
相似解决方案