zoukankan      html  css  js  c++  java
  • CodeFirst命令

    CodeFirst

    • 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命令来查看详细更新情况
  • 相关阅读:
    寻找大富翁
    C++ STL sort()函数用法
    众数
    平方因子
    Hdu 1089 A+B for Input-Output Practice (I)
    Hdu 1090 A+B for Input-Output Practice (II)
    Hdu 1083 Courses
    Hdu 1069 Monkey and Banana
    Hdu 1062 Text Reverse
    Hdu 1068 Girls and Boys
  • 原文地址:https://www.cnblogs.com/mi21/p/11289958.html
Copyright © 2011-2022 走看看