问题:

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

 

解决方案:

引用 EntityFramework.dll 即可.

 

相关文章: