h3 id="ArticleAddTaskToDbContext">Adding Task to DbContext</h3>

<p><strong>.EntityFrameworkCore</strong> project includes a pre-defined <strong>DbContext</strong>. I should add a <strong>DbSet</strong> for the Task entity into the DbContext:</p>

<pre lang="cs">
public class SimpleTaskAppDbContext : AbpDbContext
{
    <strong>public DbSet&lt;Task&gt; Tasks { get; set; }</strong>

    public SimpleTaskAppDbContext(DbContextOptions&lt;SimpleTaskAppDbContext&gt; options) 
        : base(options)
    {

    }
