什么是'System.Data.Entity.Infrastructure'参考?(

2019-08-03 20:17发布

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

using System.Data.Entity.Infrastructure;

What reference do I need to include into my project using Visual Studio 2010?

Currently, I have the following References:

  • 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:

Answer 1:

不要通过“添加引用”对话框中添加EF LIB(它的旧版本),你需要添加NuGet包的最新版本“的EntityFramework”。



文章来源: What is the reference for ´System.Data.Entity.Infrastructure´?