好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

EF框架CodeFirst启用迁移功能使用说明

Enable-Migrations 

  -ProjectName HdhCmsModel   //实体志在的项目的命名空间

 -StartUpProjectName HdhCmsEfCodeFirst  //项目启动目录

 -ContextTypeName HdhCmsEntity   //数据上下文的类名

 -MigrationsDirectory:Migrations     //迁移所在的目录

 -Force  //是否覆盖原有迁移

查看更多关于EF框架CodeFirst启用迁移功能使用说明的详细内容...

  阅读:55次