Detaching an object graph in EntityFramework?

L

Lars-Erik

Hi!

I had to detach a graph like AggregateEntity.ChildCollection.RelatedObject
today. It resulted in a method of 23 lines. Is it possible to do something
like Context.DetachEverything(aggregateEntity)?

Lars-Erik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top