I am trying to select a list of 2 integer columns map the results to a Tuple. Just as an example:
return connection.Query>(\"sele
For those using async, this can be achieved by using ValueTuple.
var res = await conn.QueryAsync<(int Id1, int Id2)>(sql); List> tuples = res.Select(x => new Tuple(x.Id1, x.Id2)).ToList();