}</pre>

<p>Now, EF Core knows that we have a Task entity.&nbsp;</p>

<h3 id="ArticleCreateFirstMigration">Creating the First Database Migration&nbsp;</h3>

<p>We will create an initial database migration to create database and the AppTasks table. I open the <strong>Package Manager Console from Visual Studio</strong> and run the <strong> Add-Migration</strong> command (Default project must be the .EntityFrameworkCore project):</p>

<p><img alt="Entity Framework Core Add Migration" height="86" src="EF-Core-I