EF Core命令

新建
Add-Migration init
Update-Database init
修改model后,执行迁移的命令 更新数据库 每次更新都要{update}修改
Add-Migration {update}
Update-Database {update}

posted @ 2019-05-15 16:33  TTonlyV5  阅读(579)  评论(0编辑  收藏  举报