Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/entity-framework/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 找不到DbContext VS2015_C#_Entity Framework_Visual Studio - Fatal编程技术网

C# 找不到DbContext VS2015

C# 找不到DbContext VS2015,c#,entity-framework,visual-studio,C#,Entity Framework,Visual Studio,我安装了vs 2015,但现在我在创建时从数据库中添加了iwant make EF6 model show reference没有添加到我的nugget中我安装了ef 6,但是在我的项目中显示了install,但是我的引用中没有实体dll添加dll到您的引用中(如果没有)。我使用nugget安装它,但不添加dllWas nuget安装正确吗?如果没有dll,我想不会。它显示已安装的实体

我安装了vs 2015,但现在我在创建时从数据库中添加了iwant make EF6 model show reference没有添加到我的nugget中我安装了ef 6,但是在我的项目中显示了install,但是我的引用中没有实体dll

添加
dll
到您的引用中(如果没有)。我使用nugget安装它,但不添加dllWas nuget安装正确吗?如果没有dll,我想不会。它显示已安装的实体