title: error CS0104: 'EntityState' and I have framework 6
body: <p>I am getting these errors:</p>
  <blockquote>
  <p>error CS0104: 'EntityState' is an ambiguous reference between 'System.Data.EntityState' and 'System.Data.Entity.EntityState'</p>
  <p>error CS0266: Cannot implicitly convert type 'System.Data.EntityState' to 'System.Data.Entity.EntityState'. An explicit conversion exists (are you missing a cast?)</p>
  </blockquote>
  <p>And the culprit is on this line:</p>
  <pre><code>context.Entry(order).State = EntityState.Modified; (EntityState.Modified being the error.
  </code></pre>
  <p>The second error in particular I am surprised about because I already performed the instructions in this link: <a href="https://msdn.microsoft.com/en-US/data/upgradeEF6" rel="nofollow noreferrer">https://msdn.microsoft.com/en-US/data/upgradeEF6</a></p>
  <p>Yet, I am still getting this problem with <code>EntityState</code>.</p>
  <p>Could somebody please help me?</p>