Skip to content

Commit 1ad519c

Browse files
authored
Updated Readme
The sample code for the queryable example was wrong (typo).
1 parent e50e3cf commit 1ad519c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ using (MyDbContext context = new MyDbContext())
3636

3737
// Versus creating by hand:
3838
var destinations = context.Sources.Select(c => new Destination {
39-
Id = p.Id,
40-
Name = p.Name,
41-
Surname = p.Surname,
39+
Id = c.Id,
40+
Name = c.Name,
41+
Surname = c.Surname,
4242
....
4343
})
4444
.ToList();

0 commit comments

Comments
 (0)