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.

Summary351you look back at all the new features of <strong>C#</strong>, you’ll f<strong>in</strong>d few that don’t contribute significantlyto LINQ <strong>in</strong> some way or other. That is part of the reason for this chapter’s existence:to show the connections between all the features.I shouldn’t wax lyrical for too long, though—as well as the upsides of LINQ, we’veseen a few “gotchas.” LINQ will not always allow us to express everyth<strong>in</strong>g we need <strong>in</strong> aquery, nor does it hide all the details of the underly<strong>in</strong>g data source. The impedancemismatches that have caused developers so much trouble <strong>in</strong> the past are still with us:we can reduce their impact with ORM systems and the like, but without a properunderstand<strong>in</strong>g of the query be<strong>in</strong>g executed on your behalf, you are likely to run <strong>in</strong>tosignificant issues. In particular, don’t th<strong>in</strong>k of LINQ as a way of remov<strong>in</strong>g your need tounderstand SQL—just th<strong>in</strong>k of it as a way of hid<strong>in</strong>g the SQL when you’re not <strong>in</strong>terested<strong>in</strong> the details.Despite the limitations, LINQ is undoubtedly go<strong>in</strong>g to play a major part <strong>in</strong> future .NETdevelopment. In the f<strong>in</strong>al chapter, I will look at some of the ways development is likelyto change <strong>in</strong> the next few years, and the part I believe <strong>C#</strong> 3 will play <strong>in</strong> that evolution.Licensed to Rhona Hadida

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

Saved successfully!

Ooh no, something went wrong!