Detaching an object graph in EntityFramework?

  • Thread starter Thread starter Lars-Erik
  • Start date Start date
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
 
Back
Top