Programming Microsoft LINQ in Microsoft .NET Framework 4

( 2 )


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 ...

See more details below
$35.92 price
(Save 28%)$49.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (16) from $25.00   
  • New (8) from $26.16   
  • Used (8) from $25.00   
Programming Microsoft LINQ in .NET Framework 4

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$25.99 price
(Save 42%)$44.99 List Price


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
Read More Show Less

Product Details

  • ISBN-13: 9780735640573
  • Publisher: Microsoft Press
  • Publication date: 12/1/2010
  • Pages: 704
  • Sales rank: 798,020
  • Product dimensions: 7.40 (w) x 8.90 (h) x 2.00 (d)

Meet the Author

Paolo Pialorsi is a consultant, trainer, and author who specializes in developing distributed applications architectures and Microsoft SharePoint enterprise solutions. He is a founder of DevLeap, a company focused on providing content and consulting to professional developers. Paolo wrote "Programming Microsoft LINQ" and "Introducing Microsoft LINQ" both published by Microsoft Press, and is the author of three books in Italian language about XML and Web Services. He is also a regular speaker at industry conferences.

Marco Russo is a founder of DevLeap. He is a regular contributor to developer user communities and is an avid blogger on Microsoft SQL Server Business Intelligence and other Microsoft technologies. Marco provides consulting and training to professional developers on the Microsoft .NET Framework and Microsoft SQL Server. He wrote "Programming Microsoft LINQ" and "Introducing Microsoft LINQ" with Paolo Pialorsi, "Expert Cube Development with Microsoft SQL Server 2008 Analysis Services" with Alberto Ferrari and Chris Webb, and is the author of two books in Italian about C# and the common language runtime.

Read More Show Less

Table of Contents

Who Is This Book For?;
Organization of This Book;
Conventions and Features in This Book;
System Requirements;
The Companion Website;
Find Additional Content Online;
Errata & Book Support;
We Want to Hear from You;
Stay in Touch;
Part I: LINQ Foundations;
Chapter 1: LINQ Introduction;
1.1 What Is LINQ?;
1.2 Why Do We Need LINQ?;
1.3 How LINQ Works;
1.4 Language Integration;
1.5 LINQ Implementations;
1.6 Summary;
Chapter 2: LINQ Syntax Fundamentals;
2.1 LINQ Queries;
2.2 Query Keywords;
2.3 Deferred Query Evaluation and Extension Method Resolution;
2.4 Some Final Thoughts About LINQ Queries;
2.5 Summary;
Chapter 3: Linq to Objects;
3.1 Query Operators;
3.2 Conversion Operators;
3.3 Summary;
Part II: LINQ to Relational;
Chapter 4: Choosing Between LINQ to SQL and LINQ to Entities;
4.1 Comparison Factors;
4.2 When to Choose LINQ to Entities and the Entity Framework;
4.3 When to Choose LINQ to SQL;
4.4 Other Considerations;
4.5 Summary;
Chapter 5: LINQ to SQL: Querying Data;
5.1 Entities in LINQ to SQL;
5.2 Data Modeling;
5.3 Data Querying;
5.4 Thinking in LINQ to SQL;
5.5 Summary;
Chapter 6: LINQ to SQL: Managing Data;
6.1 CRUD and CUD Operations;
6.2 Database Interaction;
6.3 Databases and Entities;
6.4 Summary;
Chapter 7: LINQ to SQL: Modeling Data and Tools;
7.1 File Types;
7.2 SQLMetal;
7.3 Using the Object Relational Designer;
7.4 Summary;
Chapter 8: LINQ to Entities: Modeling Data with Entity Framework;
8.1 The Entity Data Model;
8.2 Associations and Foreign Keys;
8.3 Complex Types;
8.4 Inheritance and Conditional Mapping;
8.5 Modeling Stored Procedures;
8.6 POCO Support;
8.7 T4 Templates;
8.8 Summary;
Chapter 9: LINQ to Entities: Querying Data;
9.1 EntityClient Managed Providers;
9.2 LINQ to Entities;
9.3 ObjectQuery<T> and ObjectContext;
9.4 Query Performance;
9.5 Summary;
Chapter 10: LINQ to Entities: Managing Data;
10.1 Managing Entities;
10.2 Using ObjectStateManager and EntityState;
10.3 Managing Concurrency Conflicts;
10.4 Managing Transactions;
10.5 Detaching, Attaching, and Serializing Entities;
10.6 Using Self-Tracking Entities;
10.7 Summary;
Chapter 11: LINQ to DataSet;
11.1 Introducing LINQ to DataSet;
11.2 Using LINQ to Load a DataSet;
11.3 Using LINQ to Query a DataSet;
11.4 Summary;
Part III: LINQ to XML;
Chapter 12: LINQ to XML: Managing the XML Infoset;
12.1 Introducing LINQ to XML;
12.2 LINQ to XML Programming;
12.3 Reading, Traversing, and Modifying XML;
12.4 Summary;
Chapter 13: LINQ to XML: Querying Nodes;
13.1 Querying XML;
13.2 Understanding Deferred Query Evaluation;
13.3 Using LINQ Queries over XML;
13.4 Transforming XML with LINQ to XML;
13.5 Support for XSD and Validation of Typed Nodes;
13.6 Support for XPath and System.Xml.XPath;
13.7 Securing LINQ to XML;
13.8 Serializing LINQ to XML;
13.9 Summary;
Part IV: Advanced LINQ;
Chapter 14: Inside Expression Trees;
14.1 Lambda Expressions;
14.2 What Is an Expression Tree?;
14.3 Dissecting Expression Trees;
14.4 Visiting an Expression Tree;
14.5 Dynamically Building an Expression Tree;
14.6 Summary;
Chapter 15: Extending LINQ;
15.1 Custom Operators;
15.2 Specialization of Existing Operators;
15.3 Creating a Custom LINQ Provider;
15.4 Summary;
Chapter 16: Parallelism and Asynchronous Processing;
16.1 Task Parallel Library;
16.2 PLINQ;
16.3 Reactive Extensions for .NET;
16.4 Summary;
Chapter 17: Other LINQ Implementations;
17.1 Database Access and ORM;
17.2 Data Access Without a Database;
17.3 LINQ to Services;
17.4 LINQ for System Engineers;
17.5 Dynamic LINQ;
17.6 Other LINQ Enhancements and Tools;
17.7 Summary;
Part V: Applied LINQ;
Chapter 18: LINQ in a Multitier Solution;
18.1 Characteristics of a Multitier Solution;
18.2 LINQ to SQL in a Two-Tier Solution;
18.3 LINQ in an n-Tier Solution;
18.4 LINQ in the Business Layer;
18.5 Summary;
Chapter 19: LINQ Data Binding;
19.1 using LINQ with ASP.NET;
19.2 using LINQ with WPF;
19.3 using LINQ with Silverlight;
19.4 using LINQ with Windows Forms;
19.5 Summary;

Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted January 30, 2011

    No text was provided for this review.

  • Anonymous

    Posted February 1, 2011

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)