From c05da8a979a0eb090e635da4c4dc76b5f5e17ea0 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Wed, 18 Sep 2013 08:28:06 +0100 Subject: [PATCH] Update SqlExecutor.cs Support for QueryMultiple --- DapperWrapper/SqlExecutor.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/DapperWrapper/SqlExecutor.cs b/DapperWrapper/SqlExecutor.cs index f98a730..65ffaf9 100644 --- a/DapperWrapper/SqlExecutor.cs +++ b/DapperWrapper/SqlExecutor.cs @@ -62,10 +62,25 @@ public IEnumerable Query( commandTimeout, commandType); } + + public SqlMapper.GridReader QueryMultiple( + string sql, + object param = null, + IDbTransaction transaction = null, + int? commandTimeout = default(int?), + CommandType? commandType = default(CommandType?)) + { + return _sqlConnection.QueryMultiple( + sql, + param, + transaction, + commandTimeout, + commandType); + } public void Dispose() { _sqlConnection.Dispose(); } } -} \ No newline at end of file +}