简体   繁体   中英

OptimisticConcurrencyException does not exist in System.Data

I have installed EntityFramework 6 for my project. Now I want to use OptimisticConcurrencyException from System.Data but Visual Studio 2012 tells that it's not there. Where can I find it?

Ok. I found the answer. System.Data is deprecated and System.Data.Entity.Core should be used instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM