Created
August 16, 2014 11:53
-
-
Save thefringeninja/cc19e7259f85cca07c64 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
public static Task<DbDataReader> ExecuteReaderAsync(this IDbCommand dbCommand) { | |
var command = dbCommand as DbCommand; | |
if (command == null) throw new ArgumentException("dbCommand"); | |
return command.ExecuteReaderAsync(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment