什么是对于SYSTEM.Data.Entity.Infrastructure的参考? [英] What is the reference for ´System.Data.Entity.Infrastructure´?

查看:201
本文介绍了什么是对于SYSTEM.Data.Entity.Infrastructure的参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用实体框架电动工具Beta 2扩展程序生成具有以下导入的模型类:

Using Entity Framework Power Tools Beta 2 extension, it generates model classes with the following imports:

using System.Data.Entity.Infrastructure;

我需要使用Visual Studio 2010将项目包含到我的项目中?

目前,我有以下参考


  • log4net

  • System.configuration

  • System.Core

  • System.Data

  • System.Data.Entity

  • System.Web

  • System.Web.Mvc

  • System.XML

  • log4net
  • System.configuration
  • System.Core
  • System.Data
  • System.Data.Entity
  • System.Web
  • System.Web.Mvc
  • System.XML

添加参考对话框中,我有以下内容:

And in the Add Reference dialog I have the following:

推荐答案

不要通过添加引用对话框添加EF lib(它是旧版本)
您需要添加最新版本的NuGet软件包EntityFramework。

Don't add EF lib via "Add reference" dialog (it's old version) You need to add NuGet package "EntityFramework" of latest version.

这篇关于什么是对于SYSTEM.Data.Entity.Infrastructure的参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆