首页
论坛
新职位
搜索论坛
什么是新的
新职位
新的个人资料帖子
最新活动
会员
目前的访客
新的个人资料帖子
搜索个人资料帖子
VB.NET社区
登录
寄存器
什么是新的
搜索
搜索
仅搜索标题
通过:
新职位
搜索论坛
Menu
Log in
Register
安装应用
安装
首页
论坛
Visual Studio .NET
.NET核心
实体框架无法正常工作
您正在使用过期的浏览器。它可能无法正确显示此网站或其他网站。
您应该升级或使用
替代浏览器
.
回复主题
信息
<blockquote data-quote="Sheepings" data-source="post: 18408" data-attributes="member: 11331"><p>The link you should have been using is : <a href="//www.nuget.org/packages/EntityFramework/">EntityFramework 6.4.4</a></p><p></p><p>In Visual studio. Go to : View => Other Windows => Package Manager Console</p><p>Wait until it loads, then paste this from the link above :</p><p>[ICODE]Install-Package EntityFramework -Version 6.4.4[/ICODE]</p><p>Then press enter. This will put the DLL's into your project. But before you do this, remove any other references you've added for Entity Framework.</p><p></p><p>Also note, that in ASP.Net you also need to add the using statements for entity framework.</p><p>Assume you have a file like _ViewImports.cshtml which contains all of your using statements for your ASP.Net project, be sure that you add the using directives for Entity Framework there.</p><p></p><p>Hope this helps.</p></blockquote><p></p>
Insert quotes…
验证
发表回复
首页
论坛
Visual Studio .NET
.NET核心
实体框架无法正常工作
本网站使用Cookie来帮助个性化内容,调整您的体验并在注册时保持登录状态。
继续使用本网站,即表示您同意我们使用cookie。
接受
了解更多…
最佳
底部