LINQ Pocket Reference (Paperback)

Joseph Albahari, Ben Albahari

  • 出版商: O'Reilly
  • 出版日期: 2008-04-01
  • 售價: $940
  • 貴賓價: 9.5$893
  • 語言: 英文
  • 頁數: 174
  • 裝訂: Paperback
  • ISBN: 0596519249
  • ISBN-13: 9780596519247
  • 相關分類: .NETC#
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Ready to take advantage of LINQ with C# 3.0? This guide has the detail you need to grasp Microsoft's new querying technology, and concise explanations to help you learn it quickly. And once you begin to apply LINQ, the book serves as an on-the-job reference when you need immediate reminders.

All the examples in the LINQ Pocket Reference are preloaded into LINQPad, the highly praised utility that lets you work with LINQ interactively. Created by the authors and free to download, LINQPad will not only help you learn LINQ, it will have you thinking in LINQ.

This reference explains:
 

  • LINQ's key concepts, such as deferred execution, iterator chaining, and type inference in lambda expressions
  • The differences between local and interpreted queries
  • C# 3.0's query syntax in detail-including multiple generators, joining, grouping, query continuations, and more
  • Query syntax versus lambda syntax, and mixed syntax queries
  • Composition and projection strategies for complex queries
  • All of LINQ's 40-plus query operators
  • How to write efficient LINQ to SQL queries
  • How to build expression trees from scratch
  • All of LINQ to XML's types and their advanced use

LINQ promises to be the locus of a thriving ecosystem for many years to come. This small book gives you a huge head start.

"The authors built a tool (LINQPad) that lets you experiment with LINQ interactively in a way that the designers of LINQ themselves don't support, and the tool has all kinds of wonderful features that LINQ, SQL and Regular Expression programmers alike will want to use regularly long after they've read the book." -Chris Sells, Connected Systems Program Manager, Microsoft

商品描述(中文翻譯)

準備好利用 C# 3.0 的 LINQ 了嗎?這本指南提供了您理解微軟新的查詢技術所需的詳細資訊,並提供簡潔的解釋,以幫助您快速學習。一旦您開始應用 LINQ,這本書將成為您需要立即提醒時的工作參考。

在《LINQ Pocket Reference》中的所有範例都預先載入了 LINQPad,這是一個受到高度讚譽的實用工具,讓您可以與 LINQ 進行互動。由作者創建並免費下載,LINQPad 不僅可以幫助您學習 LINQ,還可以讓您以 LINQ 的方式思考。

這本參考書解釋了以下內容:
- LINQ 的關鍵概念,例如延遲執行、迭代器鏈接和 lambda 表達式中的類型推斷
- 本地查詢和解釋查詢之間的差異
- C# 3.0 的查詢語法詳解,包括多個生成器、連接、分組、查詢繼續等
- 查詢語法與 lambda 語法的比較,以及混合語法查詢
- 複雜查詢的組合和投影策略
- 所有的 40 多個 LINQ 查詢運算子
- 如何撰寫高效的 LINQ to SQL 查詢
- 如何從頭開始建立表達樹
- 所有的 LINQ to XML 類型及其高級用法

LINQ 承諾將成為一個繁榮的生態系統的中心,多年來都會如此。這本小書將為您提供巨大的頭腦起點。

"作者們建立了一個工具(LINQPad),讓您以 LINQ 互動的方式進行實驗,這是 LINQ 設計者們本身不支援的方式,而且這個工具具有各種精彩的功能,無論是 LINQ、SQL 還是正則表達式的程式設計師都會希望經常使用,即使在閱讀完這本書後很長一段時間之後也是如此。" - Chris Sells,微軟連接系統計劃經理