码迷,mamicode.com
首页 > 移动开发 > 详细

EntityFramework codefirst Enable-Migrations No context type was found in the assembly “MyApp.Web” error

时间:2015-08-21 15:09:08      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:

Enable-Migrations -Force -ContextTypeName "MyApp.Repository.DataContext" -ProjectName "MyApp.Repository" -Startup "MyApp.Web" -ConnectionStringName "DataContext" -verbose

EntityFramework codefirst Enable-Migrations No context type was found in the assembly “MyApp.Web” error

标签:

原文地址:http://www.cnblogs.com/umlzhang/p/4747851.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!