 simple application to create <strong>tasks</strong> and assing these tasks to <strong>people</strong>. So, I need <strong>Task</strong> and <strong> Person</strong> entities.</p>

<p><strong>Task</strong> entity simply defines a Description, CreationTime and a State for a Task. It also has an optional reference to a Person (AssignedPerson):</p>

<pre lang="cs">
public class Task : Entity&lt;long&gt;
{
    [ForeignKey(&quot;AssignedPersonId&quot;)]
    public virtual Person AssignedPerson { get; set; }

   