@@ -30,7 +30,7 @@ Execute a query and map the results to a strongly typed List
30
30
------------------------------------------------------------
31
31
32
32
``` csharp
33
- public static IEnumerable < T > Query <T >(this IDbConnection cnn , string sql , object param = null , SqlTransaction transaction = null , bool buffered = true )
33
+ public static IEnumerable < T > Query <T >(this IDbConnection cnn , string sql , object param = null , IDbTransaction transaction = null , bool buffered = true , int ? commandTimeout = null , CommandType ? commandType = null )
34
34
```
35
35
Example usage:
36
36
@@ -57,7 +57,7 @@ Execute a query and map it to a list of dynamic objects
57
57
-------------------------------------------------------
58
58
59
59
``` csharp
60
- public static IEnumerable < dynamic > Query (this IDbConnection cnn , string sql , object param = null , SqlTransaction transaction = null , bool buffered = true )
60
+ public static IEnumerable < dynamic > Query (this IDbConnection cnn , string sql , object param = null , IDbTransaction transaction = null , bool buffered = true , int ? commandTimeout = null , CommandType ? commandType = null )
61
61
```
62
62
This method will execute SQL and return a dynamic list.
63
63
@@ -76,7 +76,7 @@ Execute a Command that returns no results
76
76
-----------------------------------------
77
77
78
78
``` csharp
79
- public static int Execute (this IDbConnection cnn , string sql , object param = null , SqlTransaction transaction = null )
79
+ public static int Execute (this IDbConnection cnn , string sql , object param = null , IDbTransaction transaction = null , int ? commandTimeout = null , CommandType ? commandType = null )
80
80
```
81
81
82
82
Example usage:
0 commit comments