Created
June 8, 2018 13:36
-
-
Save ssougnez/89f26c51d82f04c7620b5ef6de25e6c3 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
string sql = $@"SELECT [Id], [FirstName], [LastName], [ChampionTitleCount] FROM [Drivers];"; | |
IEnumerable<Driver> drivers = (await connection.QueryAsync<Driver>(sql)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment