Pro LINQ: Language Integrated Query in VB 2008

Joseph Rattz, Dennis Hayes

  • 出版商: Apress
  • 出版日期: 2009-08-10
  • 售價: $1,720
  • 貴賓價: 9.5$1,634
  • 語言: 英文
  • 頁數: 744
  • 裝訂: Paperback
  • ISBN: 1430216441
  • ISBN-13: 9781430216445
  • 海外代購書籍(需單獨結帳)

商品描述

LINQ is the project name for a set of extensions to the .NET Framework that provide a generic approach to querying data from different data sources. LINQ will premier in Visual Studio 2008, and will become the next must–have skill for .NET developers. For more information about LINQ, you can check out www.linqdev.com.

Starting with code and ending with code and tailored for the VB language, Pro LINQ: Language Integrated Query in VB 2008 is a veritable treasury of LINQ examples that will save you hours, even days, of research time. Keeping you focused on the relevant LINQ principles, expert author Joseph Rattz, Jr., and VB specialist Dennis Hayes provide examples for complex models that you won’t find anywhere else.

In most books, you’ll find plenty of simple examples to demonstrate how to use a method, but authors rarely show how to use the more complex prototypes. Pro LINQ: Language Integrated Query in VB 2008 is different. Demonstrating the overwhelming majority of LINQ operators and protoypes, Joseph Rattz, Jr., and Dennis Hayes condense their extensive experience and expertise into a desk companion that is essential for any serious .NET professional.

Rather than obscure the relevant LINQ principles in code examples by focusing on a demonstration application you have no interest in writing, this book cuts right to the chase of each LINQ operator, method, or class. However, where complexity is necessary to truly demonstrate an issue, the examples are right there in the thick of it. For example, code samples demonstrating how to handle concurrency conflicts actually create concurrency conflicts so you can step through the code and see them unfold.

Most books tell you about the simple stuff, while few books warn you of the pitfalls. Where Pro LINQ: Language Integrated Query in VB 2008 returns your investment is in the hours, and sometimes days, spent by the authors determining why something may not work as expected. Sometimes this results in an innocent–looking paragraph that may take you a minute to read and understand, but took days to research and explain.

Face it, most technical books while informative, are dull. LINQ need not be dull. Written with a sense of humor, this book will attempt to entertain you on your journey through the wonderland of LINQ and VB 2008.

What you’ll learn

  • How to leverage all the new LINQ–relevant VB 2008 language features including extension methods, lambda expressions, anonymous data types, and partial methods
  • How to use LINQ to Objects to query in–memory data collections such as arrays, ArrayLists, and Lists to retrieve the data you want
  • Why some queries are deferred, how a deferred query can bite you, and how you can make deferred queries work for you
  • How to use LINQ to XML to revolutionize your creation, manipulation, and searching of XML data
  • How to query DataSets with LINQ to DataSet so you can coexist with legacy code and use LINQ to query databases other than SQL Server
  • How to query databases with LINQ to SQL, write your own entity classes, and understand how to handle concurrency conflicts

Who is this book for

This book is written for the proficient VB developer, but you do not need to be up on all the latest VB features to understand the material. When you finish this book, you will be up on all the latest VB features.

About the Apress Pro Series

The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.

You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.