拨打电话时SaveChanges/ SaveChangesAsync在实体框架(CF,C#),如果发生冲突的改变(例如,值一直上次读取啄更新),那么这两个异常DbUpdateConcurrencyException或OptimisticConcurrencyException应我赶上?
SaveChanges
SaveChangesAsync
DbUpdateConcurrencyException
OptimisticConcurrencyException
它们之间有什么区别?
c# entity-framework optimistic-concurrency entity-framework-6
c# ×1
entity-framework ×1
entity-framework-6 ×1
optimistic-concurrency ×1