Commit 6e03f898 authored by Marc Gravell's avatar Marc Gravell Committed by GitHub

Merge pull request #615 from hdwatts/patch-1

Update readme.md
parents 61e965ee da8eea19
...@@ -247,7 +247,7 @@ Dapper allow you to pass in IEnumerable<int> and will automatically parameterize ...@@ -247,7 +247,7 @@ Dapper allow you to pass in IEnumerable<int> and will automatically parameterize
For example: For example:
```csharp ```csharp
connection.Query<int>("select * from (select 1 as Id union all select 2 union all select 3) as X where Id in @Ids", new { Ids = new int[] { 1, 2, 3 }); connection.Query<int>("select * from (select 1 as Id union all select 2 union all select 3) as X where Id in @Ids", new { Ids = new int[] { 1, 2, 3 } });
``` ```
Will be translated to: Will be translated to:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment