13.07.2015 Views

C# in Depth

C# in Depth

C# in Depth

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Query expressionsand LINQ to ObjectsThis chapter covers■■■■■■■Stream<strong>in</strong>g sequences of dataDeferred executionStandard query operatorsQuery expression translationRange variables and transparent identifiersProject<strong>in</strong>g, filter<strong>in</strong>g, and sort<strong>in</strong>gJo<strong>in</strong><strong>in</strong>g and group<strong>in</strong>gYou may well be tired of all the hyperbole around LINQ by now. We’ve seen someexamples <strong>in</strong> chapters 1 and 3, and you’ve almost certa<strong>in</strong>ly read some examples andarticles on the Web. This is where we separate myth from reality:■■■LINQ isn’t go<strong>in</strong>g to turn the most complicated query <strong>in</strong>to a one-l<strong>in</strong>er.LINQ isn’t go<strong>in</strong>g to mean you never need to look at raw SQL aga<strong>in</strong>.LINQ isn’t go<strong>in</strong>g to magically imbue you with architectural genius.275Licensed to Rhona Hadida

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!