title: update the database from package manager console in code first environment
body: <h1>Code First Environment</h1>
  <p>I'm trying to update the database from package Manager console.If my Domain class change, I have to drop and create the database,Instead of dropping the Database how can i update the database.</p>
  <p>I have already try by reading some blogs in google.</p>
  <h2>commands</h2>
  <pre><code>PM&gt; Install-Package EntityFramework
  </code></pre>
  <ol>
  <li><p>By using this command i install the Entity Framework successfully.</p>
  <pre><code> PM&gt; Enable-Migrations
  </code></pre>
  </li>
  <li><p>By using this command it created the Migration file in my project.</p>
  <pre><code> PM&gt; Update-Database
  </code></pre>
  </li>
  <li><p>By using this command , i may update the table but i have a  <strong>Problem here</strong>.</p>
  </li>
  </ol>
  <h1>Error</h1>
  <blockquote>
  <p>Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
  System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.</p>
  </blockquote>
  <h1>Doubt is here</h1>
  <p>Sometimes It may update if only one field changes in <strong>POCO</strong> Class. For example I have Updated the <strong>more number of Domain class</strong> ,How can i Update the Database from Package manager Console. Any Idea ?</p>