ASP.NET Boilerplate Zero启动方式

1、打开解决方案还原nuget包

2、设置 ModuleZeroSampleProject.Web 为启动项目【带有有数据库连接字符串的项目】

3、重启vs后、打开  视图》其他窗口》程序包管理器控制台

4、运行两次  update-database -Force 命令

5、修改Configuration.cs  设置 

AutomaticMigrationsEnabled = true;
AutomaticMigrationDataLossAllowed = true;

完成

posted @ 2015-06-08 14:52  易墨  阅读(1050)  评论(0编辑  收藏  举报
Fork me on GitHub