title: Code Based Code First Migration
body: <p>How to implement Code First Migrations without Package Manager Console commands. I want to implement Code First Migrations logic by using code.
  I don't want to write Following commands</p>
  
  <pre><code>PM    &gt;      Enable-Migrations
  PM    &gt;      Add-Migration
  PM    &gt;      Update-Database
  </code></pre>
  
  <p>Please tell me the best practice.</p>
  
  <p>Thanks in advance</p>