MVC初学 - The type or namespace name 'DbContext' could not be found

问题:

The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?) 

 

解决方案:

引用 EntityFramework.dll 即可.

 

posted @ 2015-08-05 09:28  zero530  阅读(651)  评论(1编辑  收藏  举报