Pro LINQ: Language Integrated Query in VB 2008
暫譯: Pro LINQ:VB 2008 的語言整合查詢
Joseph Rattz, Dennis Hayes
- 出版商: Apress
- 出版日期: 2009-08-10
- 售價: $1,780
- 貴賓價: 9.5 折 $1,691
- 語言: 英文
- 頁數: 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.
商品描述(中文翻譯)
LINQ 是一組擴展 .NET Framework 的專案名稱,提供一種通用的方法來查詢來自不同資料來源的數據。LINQ 將在 Visual Studio 2008 中首度亮相,並將成為 .NET 開發人員必備的技能。欲了解更多有關 LINQ 的資訊,您可以查看 www.linqdev.com。
《Pro LINQ: Language Integrated Query in VB 2008》以程式碼為起點,以程式碼為結尾,並針對 VB 語言量身打造,是一部真正的 LINQ 範例寶庫,將為您節省數小時甚至數天的研究時間。專家作者Joseph Rattz, Jr. 和 VB 專家Dennis Hayes 提供的範例涵蓋了複雜模型,這些範例在其他地方是找不到的,讓您專注於相關的 LINQ 原則。
在大多數書籍中,您會找到許多簡單的範例來演示如何使用某個方法,但作者很少展示如何使用更複雜的原型。《Pro LINQ: Language Integrated Query in VB 2008》則有所不同。Joseph Rattz, Jr. 和 Dennis Hayes 展示了絕大多數的 LINQ 運算子和原型,將他們的豐富經驗和專業知識濃縮成一本對任何認真對待 .NET 的專業人士來說都是必不可少的桌上伴侶。
本書不會因為專注於您無興趣編寫的示範應用程式而模糊相關的 LINQ 原則,而是直接切入每個 LINQ 運算子、方法或類別的重點。然而,當需要複雜性來真正演示某個問題時,範例會恰到好處地呈現。例如,演示如何處理併發衝突的程式碼範例實際上會創建併發衝突,讓您可以逐步執行程式碼並觀察其展開。
大多數書籍告訴您簡單的內容,而很少有書籍警告您潛在的陷阱。《Pro LINQ: Language Integrated Query in VB 2008》讓您獲得的投資回報在於作者花費的數小時,有時甚至數天,來確定某些東西為何無法如預期運作。有時這會導致一段看似無害的段落,您可能只需花一分鐘閱讀和理解,但卻花了數天的時間來研究和解釋。
面對現實,大多數技術書籍雖然資訊豐富,但卻乏味。LINQ 不必乏味。本書以幽默的語氣撰寫,將試圖在您探索 LINQ 和 VB 2008 的奇妙旅程中娛樂您。
您將學到的內容:
- 如何利用所有新的 LINQ 相關 VB 2008 語言特性,包括擴展方法、lambda 表達式、匿名資料類型和部分方法
- 如何使用 LINQ to Objects 查詢記憶體中的數據集合,如陣列、ArrayLists 和 Lists,以檢索所需的數據
- 為何某些查詢是延遲的,延遲查詢如何可能會影響您,以及如何讓延遲查詢為您服務
- 如何使用 LINQ to XML 徹底改變您對 XML 數據的創建、操作和搜尋
- 如何使用 LINQ to DataSet 查詢 DataSets,以便與舊有代碼共存,並使用 LINQ 查詢 SQL Server 以外的數據庫
- 如何使用 LINQ to SQL 查詢數據庫,編寫自己的實體類別,並了解如何處理併發衝突
本書適合誰:
本書是為熟練的 VB 開發人員撰寫的,但您不需要了解所有最新的 VB 特性即可理解內容。當您完成本書時,您將掌握所有最新的 VB 特性。
關於 Apress Pro 系列:
Apress Pro 系列書籍是實用的專業教程,幫助您在職業生涯中不斷向上攀升。
您已經獲得了工作,現在您需要在這個競爭激烈的時期磨練您的技能。Apress Pro 系列擴展了您在所需領域的技能和專業知識。掌握 Pro 書籍的內容,您將能夠在專業開發項目中始終完成工作。Apress 的 Pro 系列書籍由該領域的專家撰寫,為您提供在專業程式設計生涯中將面臨的問題的艱辛解決方案。