Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dapper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
Dapper
Commits
da8eea19
Commit
da8eea19
authored
Sep 16, 2016
by
Howard Dean Watts
Committed by
GitHub
Sep 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme.md
Missed second bracket in ID example
parent
61e965ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Readme.md
Readme.md
+1
-1
No files found.
Readme.md
View file @
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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment