Created
June 8, 2018 13:41
-
-
Save ssougnez/c6e8d1c3df2026e81233cb0e41563491 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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