Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var result = (await connection.QueryAsync(sql,
new Type[] { typeof(A), typeof(B), typeof(C), typeof(D), typeof(E), typeof(F), typeof(G), typeof(H), typeof(I) },
objects =>
{
// Distributing logic here
})).FirstOrDefault();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment