Enable-Migrations
-ProjectName HdhCmsModel //实体志在的项目的命名空间
-StartUpProjectName HdhCmsEfCodeFirst //项目启动目录
-ContextTypeName HdhCmsEntity //数据上下文的类名
-MigrationsDirectory:Migrations //迁移所在的目录
-Force //是否覆盖原有迁移
查看更多关于EF框架CodeFirst启用迁移功能使用说明的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did253757