Simple inner join result with Dapper?
I can't seem to find documentation or examples for my problem (been searching a while now). I think my problem is pretty straightforward, so here goes. I have two tables. My primary table is called Persons and the secondary table is PersonEntries. For each person in Person table, i can have 0 or more entries in the PersonEntries table. Like this. Table: Person Id Name Table: PersonEntry PersonId CheckinTime CheckoutTime I have two objects like this public class Person { public string Name; public List<PersonEntry> PersonEntries; } public class PersonEntry { public DateTime CheckinTime; public