title: The EntitySet name 'xxxxx_dk_dbEntities.Vehicle' could not be found
body: <p>I use a mssql 2008 server (at my webhotel) and I am trying to save data in it from my code.</p>
  
  <p>I have made this little test code here that gives me this error in topic</p>
  
  <pre><code> Context = new XXX_dk_dbEntities();
   var vehicle = new Vehicle { Name = "test" };
   Context.AddObject("Units", vehicle);
   Context.SaveChanges();
  </code></pre>
  
  <p>EDIT: Changing Context.AddObject(vehicle.GetType().Name, vehicle); to Context.AddObject("Something", vehicle); gives the same error, so I think it might be my connectionstring or my EF that needs proper setup, anyway I can test that?</p>
  
  <p>Edit 2: Changed it to Units now which makes my error {"The underlying provider failed on Open."} and inspecting that gives me this error  {"Login failed for user 'xxxxx_dk'."} so it must be my connectionstring</p>
  
  <pre><code>&lt;add name="xxxxx_dk_dbEntities" connectionString="metadata=res://*/Areas.Units.UnitsModel.csdl|res://*/Areas.Units.UnitsModel.ssdl|res://*/Areas.Units.UnitsModel.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=mssql1.unoeuro.com;initial catalog=xxxxxxx_dk_db;persist security info=True;user id=xxxxxxxx_dk;MultipleActiveResultSets=True;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
  </code></pre>
  
  <p>This is the solutionexplore showing my edmx structure <img src="https://i.stack.imgur.com/uCRKO.jpg" alt="http://www.gratisimage.dk/graphic/images/2011/November/02/7BBD_4EB183FB.jpg"></p>
  
  <p><img src="https://i.stack.imgur.com/ZL0my.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/jA9zR.png" alt="enter image description here"></p>