ObjectContext.SaveChanges for specific objects?

Is there a way to save changes for individual monitored objects, not all objects in the ObjectStateManager , and I mean something like:

 ObjectContext.SaveChanges(Contact) 
+4
source share
1 answer

Perhaps you could create two different contexts and save one set of objects at the same time, and not the entire batch? Could you separate the object from your main context, attach it to another context and keep that context? I know this can get really messy when working with multiple contexts, however!

+3
source

All Articles