其他分享
首页 > 其他分享> > EF常用命令

EF常用命令

作者:互联网

Add-Migration Adds a new migration.

    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.

标签:Adds,database,EF,DbContext,Database,Migration,常用命令,migration
来源: https://www.cnblogs.com/wml-it/p/16460650.html