找回密码
 注册
搜索
热搜: java php web
查看: 573|回复: 7

LINQ Unleashed: for C#

[复制链接]
发表于 2009-11-23 22:29:32 | 显示全部楼层 |阅读模式


作者:Paul Kimmel
出版日期:July 24, 2008
出版社:Sams Publishing
页数:552
ISBN:ISBN-10: 0672329832 ISBN-13: 978-0672329838
文件格式:PDF

Product Description
Foreword by Darryl Hogan, Architect Evangelist, Microsoft Corporation

Microsoft’s highly anticipated LINQ query technology makes it easy to retrieve any information programmatically from anydata source, no matter where it comes from or how it’s stored. UsingLINQ, developers can query objects, relational databases, XMLdocuments, and ADO.NET datasets–and do it all directly from C# 3.0,leveraging the powerful capabilities of LINQ.

This is a definitive guide to getting real-world results with LINQ, using C# 3.0 and Visual Studio 2008. In LINQ Unleashed,Microsoft MVP Paul Kimmel covers every facet of LINQ programming,showing how LINQ can help you dramatically improve your productivityand build more reliable, maintainable applications.

Kimmel begins by reviewing thestate-of-the-art C# programming techniques LINQ uses, includinganonymous types, partial methods, and Lambda expressions. Next, usingrealistic examples and easy-to-adapt sample code, he details the mostpowerful new LINQ techniques for accessing objects, databases, and XML.You’ll gain a deep and practical understanding of how LINQ works “underthe hood”–and learn how to do everything from selecting data throughintegrating XML with other data models.

  • Build efficient LINQ queries to .NET objects, SQL databases, and XML content
  • Utilize anonymous types to reduce design time, coding effort, and debugging time
  • Automatically generate .NET state machines with the new yield return construct
  • Master LINQ query syntax, operators, extension methods, sorting, grouping, aggregate and set operations, and more
  • Make the most of select–and use it in the business layer of your n-tier applications
  • Query relational data stored in Microsoft SQL Server
  • Use nullable types to eliminate unnecessary database access plumbing code
  • Use LINQ with ADO.NET 3.0 and Microsoft’s powerful new Entity Framework
  • Extract XML data without the hassles or complexity of XPath
  • Automatically construct XML from CSV files and other non-XML data
  • Query Active Directory by extending LINQ
Introduction  1
Part I     Getting Ready for LINQ
1     Programming with Anonymous Types 5
2     Using Compound Type Initialization  29
3     Defining Extension and Partial Methods  61
4     yield return: Using .NET’s State Machine Generator  85
5     Understanding Lambda Expressions and Closures  97
6     Using Standard Query Operators  121
Part II    LINQ for Objects
7     Sorting and Grouping Queries 137
8     Using Aggregate Operations 151
9     Performing Set Operations  167
10   Mastering Select and SelectMany 185
11   Joining Query Results  211
12   Querying Outlook and Active Directory  239
Part III   LINQ for Data
13   Querying Relational Data with LINQ 265
14   Creating Better Entities and Mapping Inheritance and Aggregation  289
15   Joining Database Tables with LINQ Queries  309
16   Updating Anonymous Relational Data  349
17   Introducing ADO.NET 3.0 and the Entity Framework  383
Part IV  LINQ for XML
18   Extracting Data from XML 415
19   Comparing LINQ to XML with Other XML Technologies  437
20   Constructing XML from Non-XML Data  453
21   Emitting XML with the XmlWriter 463
22   Combining XML with Other Data Models  469
23   LINQ to XSD Supports Typed XML Programming  485
Index
About the Author
Paul Kimmel is a four-timeMicrosoft MVP, the author of over a dozen books on object orientedprogramming and UML, including three books on Microsoft .NET, acolumnist for codeguru.com, developer.com, informit.com, devsource.com,and devx.com, a cofounder of the Greater Lansing Area .NET Users Group(glugnet.org, East Lansing and Flint), a full-time software developer,and sometimes pilot. Paul still lives and works in the greater Lansing,Michigan, area (and hasn’t given up on the economy). After 15 years ofindependent consulting, Paul now works for EDS as an applicationarchitect.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2010-2-16 01:17:05 | 显示全部楼层
非常感谢...

评分

1

查看全部评分

回复

使用道具 举报

发表于 2010-2-18 16:21:20 | 显示全部楼层
謝謝 !!!!!!
回复

使用道具 举报

发表于 2010-4-6 16:04:40 | 显示全部楼层
e文版的啊
回复

使用道具 举报

发表于 2010-5-20 09:54:24 | 显示全部楼层
谢谢,正需要
回复

使用道具 举报

发表于 2010-6-16 03:31:47 | 显示全部楼层
Thanks for sharing!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|软晨网(RuanChen.com)

GMT+8, 2024-11-14 12:48

Powered by Discuz! X3.5

Copyright © 2001-2023 Tencent Cloud.

快速回复 返回顶部 返回列表