Entity Framework 4.0 GetChanges() equivalent

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-05-28T11:21:40Z Indexed on 2010/05/28 12:21 UTC
Read the original article Hit count: 139

Hi

In LINQ to SQL, you can override SubmitChanges and use the method this.GetChangeSet() to get all the inserts, updates and deletes so that you can make last minute changes before it is committed to the database.

Can this be done in EF 4.0? I see there is a override for SaveChanges but I need to know the equivalent for GetChangeSet()

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about entity-framework-4