title: What happens if I attach an entity which is already attached in EF?
body: <p>I save some <code>EF entities</code> in a cache layer I wrote.  When I retrieve them from the cache I sometimes get a "contextObject is disposed" error.  I want to attach a new <code>contextObject</code> after I get the entity from the cache.  What side effects could this cause?  What happens if I attach an entity which is already attached?  Performance?</p>