- By Charlie Calvert, Dinesh Kulkarni
- Published Mar 12, 2009 by Addison-Wesley Professional. Part of the Microsoft Windows Development Series series.
- Copyright 2009
- Dimensions: 7 X 9-1/4
- Pages: 600
- Edition: 1st
- ISBN-10: 0-321-56416-2
- ISBN-13: 978-0-321-56416-0
Register your product to gain access to bonus material or receive a coupon.
Product Author Bios
Charlie Calvert, Community Program Manager for the Microsoft C# team, currently focuses his technical energies on LINQ. He has periodically worked with LINQ Chief Architect Anders Hejlsberg both during the development of Delphi and during the development of LINQ. Calvert’s ten technical books have sold more than 100,000 copies. They include Delphi 4 Unleashed, C++Builder 3 Unleashed, Delphi 2 Unleashed, Teach Yourself Windows 95 Programming in 21 Days, and Teach Yourself Windows Programming.
Dinesh Kulkarni is a Senior Program Manager on Microsoft’s .NET Framework team. He was the Program Manager in charge of LINQ to SQL. He was deeply involved in LINQ’s planning and implementation from the incubation stage and was lead author for MSDN’s authoritative LINQ to SQL paper. Before joining Microsoft, he worked in diverse technical roles ranging from architecting and implementing front-end CASE tools for IBM to designing databases and middleware for a Wall Street hedge fund.
“Charlie and Dinesh bring important skills to this project that enable them to show how LINQ works and the practical ways you can use it in your daily development process.”
From the Foreword by Anders Hejlsberg
LINQ is one of Microsoft’s most exciting, powerful new development technologies. Essential LINQ is the first LINQ book written by leading members of Microsoft’s LINQ and C# teams. Writing for architects, developers, and development managers, these Microsoft insiders share their intimate understanding of LINQ, revealing new patterns and best practices for getting the most out of it.
Calvert and Kulkarni begin by clearly explaining how LINQ resolves the long-time “impedance mismatch” between object-oriented code and relational databases. Next, they show how LINQ integrates querying into C# as a “first-class citizen.” Using realistic code examples, they show how LINQ provides a strongly typed, IntelliSense-aware technology for working with data from any source, including SQL databases, XML files, and generic data structures.
Calvert and Kulkarni carefully explain LINQ’s transformative, composable, and declarative capabilities. By fully illuminating these three concepts, the authors allow developers to discover LINQ’s full power. In addition to covering core concepts and hands-on LINQ development in C# with LINQ to Objects, LINQ to XML, LINQ to SQL, and LINQ to Entities, they also present advanced topics and new LINQ implementations developed by the LINQ community. This book
• Explains the entire lifecycle of a LINQ project: design, development, debugging, and much more
• Teaches LINQ from both a practical and theoretical perspective
• Leverages C# language features that simplify LINQ development
• Offers developers powerful LINQ query expressions to perform virtually any data-related task
• Teaches how to query SQL databases for objects and how to modify those objects
• Demonstrates effective use stored procedures and database functions with LINQ
• Shows how to add business logic that reflects the specific requirements of your organization
• Teaches developers to create, query, and transform XML data with LINQ
• Shows how to transform object, relational, and XML data between each other
• Offers best patterns and practices for writing robust, easy-to-maintain LINQ code
6 of 6 people found the following review helpful
Excellent book on Linq,
This review is from: Essential LINQ (Paperback)Well, I'd have to say stuff the Entity Framework. Those of us who have spent many years watching Microsoft change its data access APIs more frequently than many people change their underpants are hardly likely to instantly jump as soon as Microsoft announces that the API they are currently using is now so last week.
The fact that this book has excellent coverage of Linq to SQL is all in its favour, in my opinion. However, the book also has a very clear explanation of the basic concepts, is the first book on Linq that I have seen which clearly explains why we have query expressions as well as query methods, and has excellent Linq to XML coverage if you absolutely can't avoid using the filthy bloated abomination that is XML.
All in all, a most excellent book, a pleasure to read, and highly recommended.
3 of 3 people found the following review helpful
Excellent book to learn LINQ (and a few other things) from,
This review is from: Essential LINQ (Paperback)I found Essential LINQ to be an excellent book to learn LINQ from. It was extremely easy to read, accurate, and useful. I liked that the authors took the time to explain and teach the underlying technologies. As a result, they have made LINQ approachable, even for someone with minimal experience beyond basic C# and .NET Framework knowledge. After reading this book, I felt very confident in using LINQ, and I embarked on a project which made use of it. It turns out that I did indeed learn a lot from the book, as I rarely needed to refer back to it or check the documentation. In addition, I was finding myself using many of the other concepts taught in the book, even in places that LINQ did not require them.
Some people (including another reviewer here) may say that too much time was spent on LINQ to SQL or not enough was devoted to LINQ to Entities. Honestly, I've looked at Entity Framework, and it is way too heavy for many projects. Microsoft may be pushing EF, but it won't... Read more
3 of 3 people found the following review helpful
Very Good Introductory Text,
This review is from: Essential LINQ (Paperback)This is a very good introductory text to LINQ.
What I especially liked was that authors dedicated some time to nomenclature, which many other books simply omit. After establishing a solid foundation, the authors provide a digestible balance of depth and pragmatism. This is actually the third book I've read on LINQ, and wish it had been the first. While some of the other books go into technical minutiae, and may serve as comprehensive references, I think this book does a better job at explaining what LINQ is, how it works (to sufficient but not excruciating depth), and how to use it for the common business cases most of us are likely to encounter.
If you're about to learn LINQ, or have questions about some of the basics, consider reading this book.
› See all 9 customer reviews...
Online Sample Chapter
Table of Contents
About the Authors xxix
Chapter 1 Introduction 1
Chapter 2 Getting Started 13
Chapter 3 The Essence of LINQ 39
Chapter 4 C# 3.0 Technical Overview 65
Chapter 5 Writing Query Expressions 129
Chapter 6 Query Operators 175
Chapter 7 A Quick Tour of LINQ to SQL 231
Chapter 8 Reading Objects with LINQ to SQL 247
Chapter 9 Modifying Objects with LINQ to SQL 281
Chapter 10 Using Stored Procedures and Database Functions with LINQ to SQL 319
Chapter 11 Customizing Entity Persistence and Adding Business Logic 337
Chapter 12 LINQ to Entities Overview 349
Chapter 13 LINQ to XML: Creation 369
Chapter 14 Querying and Editing XML 387
Chapter 15 XML Namespaces, Transforms, and Schema Validation 423
Chapter 16 Introduction to LINQ Patterns and Practices 465
Chapter 17 LINQ Everywhere 487
Chapter 18 Conclusion 515
Appendix A Tips for Developers 519
Download the sample pages (includes Chapter 3 and Index)
Book + eBook Bundle
Book Price $35.99
eBook Price $12.60
eBook formats included
This book includes free shipping!
This book includes free shipping!
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.