So I have a situation where I have to join (and map) more than 7 entities (which as far as I see is the current limitation of Dapper). This is what I've got so far (pseudo code):
using (var connection = new SqlConnection(_connectionString)) { IEnumerable<BigEntity> results = connection.Query<BigEntity, Lookup1, Lookup2, ... around 10 of them>(sql, (b, l1, l2, l3) => { // map and return here }, splitOn: "split1, split2 ..."); } Is there any way around this limitation ? Anyone faced this before ? Some Dapper extensions perhaps ?