Skip to content

Commit

Permalink
Merge pull request #203 from github5775/patch-1
Browse files Browse the repository at this point in the history
on line #62, change "context" to "db"
  • Loading branch information
rowanmiller committed Jun 29, 2016
2 parents fc42d27 + ee54c95 commit eafc27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_shared/intro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Instances of your entity classes are retrieved from the database using Language

using (var db = new BloggingContext())
{
var blogs = context.Blogs
var blogs = db.Blogs
.Where(b => b.Rating > 3)
.OrderBy(b => b.Url)
.ToList();
Expand Down

0 comments on commit eafc27c

Please sign in to comment.