Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: ObjectContext.DetectChanges and the SavingChanges event

$
0
0

Hello Koen,

We actually called DetectChanges twice at one point, but later removed one of the calls because DetectChanges is a relatively expensive call. But it's easy and recommended to call DetectChanges before SaveChanges manually if your scenario requires ObjectStateManager to be up-to-date when SavingChanges is raised.

 

Thanks,

Andriy


Viewing all articles
Browse latest Browse all 1793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>