DapperAOT

DAP013

Dapper.AOT does not currently support tuple-type results. It absolutely will; I just haven’t got there yet.

This includes both positional and nomimal usage, i.e. Query<(int, string)> and Query<(int id, string name)>.

Suggestions:

As an example of the struct record suggestion:

var data = conn.Query<MyData>("somesql");
// ...
public readonly record struct MyData(string name, int id);