title: linq System.ObjectDisposedException
body: <p>i have a problem with some data i retrievied from db with linq.
  When I try to access data I obtain the following exception:
  System.ObjectDisposedException : The istance of ObjectContext was deleted and is not possible to use it again for action that need a connection.
  This is the code:</p>
  
  <pre><code>using (ProvaDbEntities DBEntities =     
      new ProvaDbEntities(Utilities.ToEntitiesConnectionString()))
  
              {
                  ObjectQuery&lt;site&gt; sites = DBEntities.site;
  
                  IEnumerable&lt;site&gt; q = from site in sites
  
                                        select site;
  
  
                  {
                      ObjectQuery&lt;auction&gt; auctions = DBEntities.auction;
  
                      IEnumerable&lt;auction&gt; q1 = from auction in auctions
  
                                                where auction.site == this.Name
  
                                                select auction;
  
                      IEnumerable&lt;IAuction&gt; res = q1.Cast&lt;IAuction&gt;();
  
                      return res;
  
              }
          }
          catch(Exception e)
          {
              throw new UnavailableDbException("[GetAuctions]" + e.Message);
          }
  </code></pre>
  
  <p>Someone can help me???
  Tanks
  Fabio</p>