title: Converting Entity Framework connection string to SQL Server Express
body: <p>My project has an Entity Framework connection string but I want to connect to a SQL Server Express database, so I think I have to change the connection string to SQL Server Express - but how ? </p>
  
  <p>I want to change below connection string. Is it also enough connect database just changing connection string for same SQL Server mdf file ? </p>
  
  <pre><code>&lt;add name="MyEntities"
       connectionString="metadata=res://*/Model.MyEntities.csdl|res://*/Model.MyEntities.ssdl|res://*/Model.TravldbEntities.msl;
       provider=System.Data.SqlClient;
       provider connection string=&amp;quot;Data Source=sandiego;
                                  Initial Catalog=mydatabse;Persist Security Info=True;
                                  User ID=user;Password='password';MultipleActiveResultSets=True&amp;quot;"
       providerName="System.Data.EntityClient" /&gt;
  </code></pre>