How to use migration programmatically in EntityFramework Codefirst? : <p>I'm working in a project that uses EF Code First. I'm trying to use migration features. I don't want to use Package Console Manager. How can I execute the "Add-Migration" and "Update-Database" programmatically? </p>

<pre><code>add-migration TestMigration01 -force

update-database
</code></pre>
