Book description
Dig into LINQ -- and transform the way you work with data.
With LINQ, you can query data from a variety of sources -- including databases, objects, and XML files -- directly from Microsoft Visual Basic or C#. Guided by data-access experts who've worked in depth with LINQ and the Microsoft development teams, you'll learn how .NET Framework 4 implements LINQ, and how to exploit it. Clear examples show you how to deliver your own data-access solutions faster and with leaner code.
Discover how to:
Use LINQ to query databases, object collections, arrays, XML, Microsoft Excel files, and other sources
Apply LINQ best practices to build data-enabled .NET applications and services
Manipulate data in a relational database with ADO.NET Entity Framework or LINQ to SQL
Read, write, and manage XML content more efficiently with LINQ to XML
Extend LINQ to support additional data sources by creating custom operators and providers
Examine other implementations, such as LINQ to SharePoint
Use LINQ within the data, business, and service layers of a distributed application
Get code samples on the Web
Table of contents
- Programming Microsoft® LINQ in Microsoft .NET Framework 4
- Dedication
- Preface
- Acknowledgments
- Introduction
-
I. LINQ Foundations
- 1. LINQ Introduction
- 2. LINQ Syntax Fundamentals
-
3. Linq to Objects
- Query Operators
- Conversion Operators
- Summary
-
II. LINQ to Relational
- 4. Choosing Between LINQ to SQL and LINQ to Entities
-
5. LINQ to SQL: Querying Data
- Entities in LINQ to SQL
- Data Modeling
- Data Querying
- Thinking in LINQ to SQL
- Summary
- 6. LINQ to SQL: Managing Data
- 7. LINQ to SQL: Modeling Data and Tools
- 8. LINQ to Entities: Modeling Data with Entity Framework
- 9. LINQ to Entities: Querying Data
- 10. LINQ to Entities: Managing Data
- 11. LINQ to DataSet
-
III. LINQ to XML
- 12. LINQ to XML: Managing the XML Infoset
- 13. LINQ to XML: Querying Nodes
-
IV. Advanced LINQ
- 14. Inside Expression Trees
- 15. Extending LINQ
-
16. Parallelism and Asynchronous Processing
- Task Parallel Library
-
PLINQ
- Threads Used by PLINQ
- Implementing PLINQ
- Consuming the Result of a PLINQ Query
- Controlling Result Order in PLINQ
- Processing Query Results
- Handling Exceptions with PLINQ
- Canceling a PLINQ Query
- Controlling Execution of a PLINQ Query
- Changes in Data During Execution
- PLINQ and Other LINQ Implementations
- Reactive Extensions for .NET
- Summary
- 17. Other LINQ Implementations
-
V. Applied LINQ
- 18. LINQ in a Multitier Solution
- 19. LINQ Data Binding
- Index
- About the Authors
- Copyright
Product information
- Title: Programming Microsoft® LINQ in Microsoft .NET Framework 4
- Author(s):
- Release date: November 2010
- Publisher(s): Microsoft Press
- ISBN: 9780735656765
You might also like
book
Pro LINQ: Language Integrated Query in C# 2008
LINQ is the project name for a set of extensions to the .NET Framework that provide …
book
LINQ to Objects Using C# 4.0
“For several years, Troy has been one of the key figures in the LINQ community. This …
book
Microsoft Visual C# 2013 Step by Step
Your hands-on guide to Visual C# fundamentals Expand your expertise—and teach yourself the fundamentals of Microsoft …
book
LINQ Unleashed for C#
Foreword by Darryl Hogan, Architect Evangelist, Microsoft Corporation Microsoft’s highly anticipated LINQ query technology makes it …