积极答复者
Can not use the DbContext class

问题
-
答案
-
Hey——
What do you mean by saying——drag the System.Data.Entity? This is a namespace, how can you drag it like a control???
It seems that you are using EF(4.1)——Code First。I recommand you to intall an vsix for VS2010, and the download the EntityFramework as the following steps:
1) Open your Vs and open your proj, then click the Extension Manager:
2)Then search for the nuget and download it:
3)Then load the EntityFramework.dll into your proj, plz follow the torturial:
1)View –> Other Windows –> Package Manager Console
2) http://johnpapa.net/upgrading-to-entity-framework-4-1-rc
如果你有其它意见或私下交流,请直接发送maledong_work@foxmail.com;或者
If you do not have QQ, please open the page and download it and click the image to talk or leave message for me.
下载MSDN桌面工具(Vista,Win7)
我的博客园
慈善点击,点击此处- 已标记为答案 Elegant Tiger 2011年11月3日 3:37
全部回复
-
Hey——
What do you mean by saying——drag the System.Data.Entity? This is a namespace, how can you drag it like a control???
It seems that you are using EF(4.1)——Code First。I recommand you to intall an vsix for VS2010, and the download the EntityFramework as the following steps:
1) Open your Vs and open your proj, then click the Extension Manager:
2)Then search for the nuget and download it:
3)Then load the EntityFramework.dll into your proj, plz follow the torturial:
1)View –> Other Windows –> Package Manager Console
2) http://johnpapa.net/upgrading-to-entity-framework-4-1-rc
如果你有其它意见或私下交流,请直接发送maledong_work@foxmail.com;或者
If you do not have QQ, please open the page and download it and click the image to talk or leave message for me.
下载MSDN桌面工具(Vista,Win7)
我的博客园
慈善点击,点击此处- 已标记为答案 Elegant Tiger 2011年11月3日 3:37