Building Interactive Queries with LINQPad

Sébastien Finot

  • 出版商: Packt Publishing
  • 出版日期: 2013-07-20
  • 售價: $1,650
  • 貴賓價: 9.5$1,568
  • 語言: 英文
  • 頁數: 126
  • 裝訂: Paperback
  • ISBN: 1782178228
  • ISBN-13: 9781782178224
  • 下單後立即進貨 (約3~4週)

商品描述

Learn how to query databases interactively using LINQ and LINQPad

Overview

  • Leverage the power of LINQPad to learn LINQ
  • Discover LINQPad’s key features and options
  • Learn about the cool applications of LINQPad such as testing, code snippet generation, and so on

In Detail

If you need to interact with databases, XML, in-memory collections, or remote services, LINQ can make your life simpler. The best way to discover LINQ is with the help of LINQPad, a free IDE whose first goal is to make sure that writing and interacting with your LINQ query is fun and easy. More generally, LINQPad is a C#/VB/F# scratchpad that instantly executes any expression, statement block, or program with rich output formatting and a wealth of features.

With Building Interactive Queries with LINQPad, you will quickly learn everything you need to know to start using LINQ. To accelerate your learning curve, you will discover how to use LINQPad and its features to test your queries interactively and experiment with all the options offered by LINQ.

In all probability, you already know C#, but have you had a chance to try out LINQ? Building Interactive Queries with LINQPad will introduce you to everything LINQ can offer and will let you interact with every example in LINQPad, LINQ’s best companion.

You will learn how to build and experiment with interactive queries with this practical guide illustrated with short and detailed code samples. You will also get acquainted with other cool applications of LINQpad such as testing, code snippet generation, and so on, along with a broad approach to LINQ (to object, to SQL, to XML, and so on).

What you will learn from this book

  • Discover what LINQ can do and how it will help you
  • Learn all about LINQ query operators to join, aggregate, select, and filter data
  • Write LINQ queries with both method and query syntaxes
  • Query databases and remote services using LINQ
  • Create and manipulate XML and in-memory collections
  • Differentiate LINQPad’s query types
  • Handle user input with LINQPad
  • Customize LINQPad to fit your taste or workflow

Approach

A step-by-step practical guide that will introduce you to LINQPad’s key features, thereby helping you to query databases interactively.

Who this book is written for

This book is aimed at C#/.Net developers who wish to learn LINQ programming and leverage the easy way of using LINQPad. No prior knowledge of LINQ or LINQPad is expected. A basic knowledge of SQL and XML is required for some chapters.

商品描述(中文翻譯)

學習如何使用 LINQ 和 LINQPad 互動查詢資料庫

概述
- 利用 LINQPad 的強大功能來學習 LINQ
- 探索 LINQPad 的主要特性和選項
- 了解 LINQPad 的酷炫應用,例如測試、程式碼片段生成等

詳細內容
如果您需要與資料庫、XML、記憶體中的集合或遠端服務互動,LINQ 可以讓您的生活更簡單。發現 LINQ 的最佳方式是借助 LINQPad,這是一個免費的 IDE,其首要目標是確保撰寫和互動您的 LINQ 查詢既有趣又簡單。更一般來說,LINQPad 是一個 C#/VB/F# 的隨手筆記本,可以即時執行任何表達式、語句區塊或程式,並提供豐富的輸出格式和眾多功能。

透過《使用 LINQPad 建立互動查詢》,您將快速學會開始使用 LINQ 所需的所有知識。為了加速您的學習曲線,您將發現如何使用 LINQPad 及其功能來互動測試您的查詢,並實驗 LINQ 提供的所有選項。

您很可能已經知道 C#,但您有機會嘗試 LINQ 嗎?《使用 LINQPad 建立互動查詢》將向您介紹 LINQ 所能提供的一切,並讓您與 LINQPad 中的每個範例互動,LINQ 的最佳夥伴。

您將學習如何使用這本實用指南來建立和實驗互動查詢,並附有簡短且詳細的程式碼範例。您還將熟悉 LINQPad 的其他酷炫應用,例如測試、程式碼片段生成等,並廣泛了解 LINQ(對象、SQL、XML 等)。

您將從本書中學到的內容
- 發現 LINQ 可以做什麼以及它將如何幫助您
- 了解所有 LINQ 查詢運算子以連接、聚合、選擇和過濾資料
- 使用方法和查詢語法撰寫 LINQ 查詢
- 使用 LINQ 查詢資料庫和遠端服務
- 創建和操作 XML 及記憶體中的集合
- 區分 LINQPad 的查詢類型
- 使用 LINQPad 處理用戶輸入
- 自訂 LINQPad 以符合您的品味或工作流程

方法
這是一個逐步的實用指南,將介紹 LINQPad 的主要特性,幫助您互動查詢資料庫。

本書的讀者對象
本書針對希望學習 LINQ 程式設計並利用 LINQPad 簡易使用方式的 C#/.Net 開發人員。不需要具備 LINQ 或 LINQPad 的先前知識。某些章節需要具備基本的 SQL 和 XML 知識。