摘要: 第一步:在程序包管理器控制台里: Enable-Migrations -ProjectName EF所在的项目名称 第二步:运行后会在字段生成Migrations文件夹,Migrations->Configuration.cs 类里把AutomaticMigrationsEnabled改为true( 阅读全文
posted @ 2016-03-14 12:27 nele 阅读(747) 评论(0) 推荐(0) 编辑