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.

CONTENTSxv11.4 Let clauses and transparent identifiers 294Introduc<strong>in</strong>g an <strong>in</strong>termediate computation with let 295Transparent identifiers 29611.5 Jo<strong>in</strong>s 297Inner jo<strong>in</strong>s us<strong>in</strong>g jo<strong>in</strong> clauses 297 ■ Group jo<strong>in</strong>s withjo<strong>in</strong> … <strong>in</strong>to clauses 301 ■ Cross jo<strong>in</strong>s us<strong>in</strong>g multiplefrom clauses 30311.6 Group<strong>in</strong>gs and cont<strong>in</strong>uations 307Group<strong>in</strong>g with the group … by clause 307 ■ Querycont<strong>in</strong>uations 31011.7 Summary 3131213LINQ beyond collections 31412.1 LINQ to SQL 315Creat<strong>in</strong>g the defect database and entities 315 ■ Populat<strong>in</strong>g thedatabase with sample data 318 ■ Access<strong>in</strong>g the database withquery expressions 319 ■ Updat<strong>in</strong>g the database 324 ■ LINQ toSQL summary 32512.2 Translations us<strong>in</strong>g IQueryable and IQueryProvider 326Introduc<strong>in</strong>g IQueryable and related <strong>in</strong>terfaces 326 ■ Fak<strong>in</strong>git: <strong>in</strong>terface implementations to log calls 328 ■ Glu<strong>in</strong>g expressionstogether: the Queryable extension methods 330 ■ The fake queryprovider <strong>in</strong> action 332 ■ Wrapp<strong>in</strong>g up IQueryable 33312.3 LINQ to DataSet 334Work<strong>in</strong>g with untyped datasets 334 ■ Work<strong>in</strong>g with typeddatasets 33512.4 LINQ to XML 338XElement and XAttribute 338 ■ Convert<strong>in</strong>g sample defect data<strong>in</strong>to XML 340 ■ Queries <strong>in</strong> LINQ to XML 341 ■ LINQ toXML summary 34312.5 LINQ beyond .NET 3.5 344Third-party LINQ 344 ■ Future Microsoft LINQ technologies 34812.6 Summary 350Elegant code <strong>in</strong> the new era 35213.1 The chang<strong>in</strong>g nature of language preferences 353A more functional emphasis 353 ■ Static, dynamic, implicit,explicit, or a mixture? 354Licensed to Rhona Hadida

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

Saved successfully!

Ooh no, something went wrong!