Commit 98c395f9 authored by Marc Gravell's avatar Marc Gravell

Merge branch 'master' of github.com:StackExchange/Dapper

parents df4c301f 787f681b
...@@ -240,7 +240,7 @@ new {A = 1, B = "b"} // A will be mapped to the param @A, B to the param @B ...@@ -240,7 +240,7 @@ new {A = 1, B = "b"} // A will be mapped to the param @A, B to the param @B
List Support List Support
------------ ------------
Dapper allow you to pass in IEnumerable<int> and will automatically parameterize your query. Dapper allows you to pass in IEnumerable<int> and will automatically parameterize your query.
For example: For example:
...@@ -315,7 +315,7 @@ post.Owner.Name.IsEqualTo("Sam"); ...@@ -315,7 +315,7 @@ post.Owner.Name.IsEqualTo("Sam");
post.Owner.Id.IsEqualTo(99); post.Owner.Id.IsEqualTo(99);
``` ```
Dapper is able to split the returned row by making an assumption that your Id columns are named `Id` or `id`, if your primary key is different or you would like to split the wide row at point other than `Id`, use the optional `splitOn` parameter. Dapper is able to split the returned row by making an assumption that your Id columns are named `Id` or `id`. If your primary key is different or you would like to split the row at a point other than `Id`, use the optional `splitOn` parameter.
Multiple Results Multiple Results
--------------------- ---------------------
......
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