How do I remove the context if I have run many queries and my ObjectContext contains entities that I no longer require? I am aware that I must get rid of the context as quickly as possible, but it is not feasible in this situation. Is there a method for me to take those items out of the context, then?
The ObjectContext cannot be "cleared" using any method. The only method to do that is to start a new instance of ObjectContext after disposing of the present one.