title: An error occurred while updating the entries when SaveChanges()
body: <p>I write application using Entity Framework, I write any code in "ButtonSave" like thís:</p>
  
  <pre><code>_objEntities = new PCApp_TaxitechEntities();
  contact objModel = new contact();
  objModel.Name = customerName;
  objModel.Phone = PhoneNumber;
  _objEntities.contacts.Add(objModel);
  int Result = _objEntities.SaveChanges();
  </code></pre>
  
  <p>This throws exception in line: </p>
  
  <p><code>int Result = _objEntities.SaveChanges();</code></p>
  
  <p>With message like: </p>
  
  <blockquote>
    <p>An error occurred while updating the entries: {"Invalid object name 'dbo.contact'."}</p>
  </blockquote>
  
  <p>Here my connectionString:</p>
  
  <p><code>&lt;connectionStrings&gt;
       &lt;add name="PCApp_TaxitechEntities" 
            connectionString="Data Source=.\sqlexpress;Initial Catalog=PCApp_Taxitech;
            User ID=sa;Password="/&gt;
  &lt;/connectionStrings&gt;</code></p>
  
  <p>Of courses, In SQL Server, I have database <code>PCApp_Taxitech</code>.</p>
  
  <p>I don't know when call <code>SaveChanges()</code> method this application throw exception.</p>