You can't attach entities to a different context when they are attached to a different one. You need to detach it from the previous one if you relay want to do it msdn.microsoft.com/en-us/library/bb89627....
You can't attach entities to a different context when they are attached to a different one. You need to detach it from the previous one if you relay want to do it. msdn.microsoft.com/en-us/library/bb89627....
I tried query.ToList. Foreach(q => db. Detach(q)); And I get this error: System.
InvalidOperationException: The object cannot be detached because it is not attached to the ObjectStateManager. – Nanek Jul 7 at 9:44.
InvalidOperationException: The object could not be added to the EntityCollection or EntityReference. An object that is attached to an ObjectContext cannot be added to an EntityCollection or EntityReference that is not associated with a source object.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.