title: Upgrade from Entity Framework 5 to 6
body: <p>After upgrading our project from using Entity Framework 5 to Entity Framework 6 (though NuGets update function) i get the following error on my generated Entities class:</p>
  
  <blockquote>
    <p>Error  1   The type or namespace name 'Objects' does not exist in the namespace 'System.Data'<br>
        (are you missing an assembly reference?)</p>
  </blockquote>
  
  <p>I understand that this is because the namespace has changed and i can manually fix the error by changing my imports from:
       <code>using System.Data.Objects;</code>
       and <code>using System.Data.Objects.DataClasses;</code>
  To:
       <code>using System.Data.Entity.Core.Objects;</code></p>
  
  <p>However the file is generated so i need to reapply this fix after every <code>Update model from Database</code>.
  Is there something extra to change to get EF to generate the model without this error.</p>