Skip to content

Commit 6fa41fc

Browse files
author
electricessence
authored
Update README.md
1 parent 4495743 commit 6fa41fc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,14 @@ Optionally a field to column override map can be passed as a parameter. If a co
5959

6060
##### Examples
6161

62+
If all the columns in the database map exactly to a field. A column that has no associated field/property is ignored.
6263
```cs
6364
var people = cmd.Results<Person>();
6465
```
6566

67+
If the database fields don't map exactly.
68+
6669
```cs
67-
// If the database fields don't map exactly.
6870
var people = cmd.Results<Person>(
6971
(Field:"FirstName", Column:"first_name"),
7072
(Field:"LastName", Column:"last_name")));

0 commit comments

Comments
 (0)