![](/img/trans.png)
[英]LINQ to SQL, 'Linq' does not exist in the namespace 'System.Data'
[英]OptimisticConcurrencyException does not exist in System.Data
我已经为我的项目安装了EntityFramework 6。 现在,我想使用System.Data中的OptimisticConcurrencyException,但是Visual Studio 2012告诉它不存在。 在哪里可以找到它?
好。 我找到了答案。 不推荐使用System.Data,而应改用System.Data.Entity.Core。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.