title: EF 6 not selecting recently updated values unless I rebuild the project
body: <p>In Visual Studio 2012, I have Project#1 that creates and update entries in a SQL DB using EF 6.</p>
  
  <p>And another Project#2 that is supposed to only select the values created/updated from Project #1</p>
  
  <p>Both projects have a connection string to the local DB</p>
  
  <p>Both projects reference a Data access layer library that contains the .edmx file and the generated models.</p>
  
  <ul>
  <li><p><a href="http://localhost:1535/Project1" rel="nofollow">http://localhost:1535/Project1</a>: Should create or edit an entry on
  <strong>Payment</strong> entity</p></li>
  <li><p><a href="http://localhost:1896/Project2" rel="nofollow">http://localhost:1896/Project2</a>: Should select values from <strong>Payment</strong>
  entity</p></li>
  </ul>
  
  <p>The issue is: When I run both applications on different localhost ports I am able to create an entry and select it from the other project</p>
  
  <p>BUT when I want to update an entry I always see the OLD value. And it is only when I rebuild Project #2 in Visual Studio 2012 that I can see the updated value.</p>
  
  <p>Edit action</p>
  
  <pre><code>[HttpPost]
  [ValidateAntiForgeryToken]
  public ActionResult Edit([Bind(Prefix = "paymentform")] PaymentForm paymentform)
  {
      if (ModelState.IsValid)
      {
          Payment payment = db.Payments.Find(paymentform.formId);
  
          payment.paymenturl = paymentform.paymenturl;
  
          db.Entry(payment).State = EntityState.Modified;
  
          db.SaveChanges();
  
          return RedirectToAction("Index");
      }
  
      return View(new PaymentConfig());
  }
  </code></pre>
  
  <p>What is happening? </p>