From 27d546a6c384c2688527261b8d306be21bd84b02 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Wed, 18 Sep 2013 08:27:03 +0100 Subject: [PATCH] Update IDbExecutor.cs Support for QueryMultiple --- DapperWrapper/IDbExecutor.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/DapperWrapper/IDbExecutor.cs b/DapperWrapper/IDbExecutor.cs index 065efc4..4440c42 100644 --- a/DapperWrapper/IDbExecutor.cs +++ b/DapperWrapper/IDbExecutor.cs @@ -1,6 +1,7 @@ -using System; +using System; using System.Collections.Generic; using System.Data; +using Dapper; namespace DapperWrapper { @@ -28,5 +29,12 @@ IEnumerable Query( bool buffered = true, int? commandTimeout = default(int?), CommandType? commandType = default(CommandType?)); + + SqlMapper.GridReader QueryMultiple( + string sql, + object param = null, + IDbTransaction transaction = null, + int? commandTimeout = default(int?), + CommandType? commandType = default(CommandType?)); } -} \ No newline at end of file +}