In my case I used Dapper.Contrib.
Using [Write(false)] attribute on any property should solve the problem.
Some also suggest using [Computed] attribute.
public class Person
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
public int Age { get; set; }
[Write(false)]
public IEnumerable Emails { get; }
}