代码优先-Code First

1.启用 Code First 迁移命令:Enable-Migrations 
2.为迁移搭建基架:Add-Migration Initial
3.开始迁移:Update-Database

posted @ 2019-12-23 17:46  乌柒柒  阅读(264)  评论(0编辑  收藏  举报