
    }
}</pre>

<p>This code is used to create AppTasks table when we execute the migrations to the database (see <a href="https://docs.efproject.net/" target="_blank">entity framework documentation</a> for more information on migrations).</p>

<h3 id="ArticleCreateDb">Creating the Database</h3>

<p>To create the database, I run <strong>Update-Database</strong> command from Package Manager Console:</p>

<p><img alt="EF Update-Database command" height="117" src="EF-Core-Database-Update-2.png" width="710" /><