diff options
author | olwaro <hoarau.olivier@gmail.com> | 2014-02-24 21:39:05 +0100 |
---|---|---|
committer | olwaro <hoarau.olivier@gmail.com> | 2014-02-24 21:39:05 +0100 |
commit | 9d7566d82edf776b5f52ec397cd06f8e24e54b86 (patch) | |
tree | a105b07a2d26502dc84cbc03f0cf8e52616794ec /csharp.html.markdown | |
parent | 7350deb1035369453c0651ecd81c4e00cae04142 (diff) |
Fix what Nami-Doc spotted.
Diffstat (limited to 'csharp.html.markdown')
-rw-r--r-- | csharp.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index a5b2e1c2..a689fe97 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -511,11 +511,11 @@ on a new line! ""Wow!"", the masses cried"; var db = new BikeRespository(); // execution is delayed, which is great when querying a database - var fitler = db.Bikes.Where(b => b.HasTassles); // no query run + var filter = db.Bikes.Where(b => b.HasTassles); // no query run if (42 > 6) // You can keep adding filters, even conditionally - great for "advanced search" functionality - fitler = fitler.Where(b => b.IsBroken); // no query run + filter = filter.Where(b => b.IsBroken); // no query run - var query = fitler + var query = filter .OrderBy(b => b.Wheels) .ThenBy(b => b.Name) .Select(b => b.Name); // still no query run |