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

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

posted @ 2015-08-21 14:42  居后不争  阅读(297)  评论(0编辑  收藏  举报