Mapping single class with a table was bit easy and fun. Next should be mapping associations, first I will try to map a simple one, using our existing application code. A person can have multiple email addresses.
So here is the modified code for person
public class PersonItem
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Gender { get; set; }
public Nullable<DateTime> BirthDate { get; set; }
public virtual ICollection<EmailItem> Emails { get; set; }
public PersonItem() { this.Emails = new List<EmailItem>(); }
}

