Microsoft Insiders Reveal the True Essence of LINQ: What It Is, How It Works, and Best Practices for Using It 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, with C# creator Anders Hejlsberg's seal of approval. 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. Charlie Calvert and Dinesh 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 key patterns and practices, advanced topics, and new LINQ implementations developed by the LINQ community. Coverage includes * The entire lifecycle of a LINQ project: design, development, debugging, and much more * Understand LINQ from both a practical and theoretical perspective * Leverage C# language features that simplify LINQ development * Write powerful LINQ query expressions to perform virtually any data-related task * Query SQL databases for objects and modify those objects * Effectively use stored procedures and database functions with LINQ * Add business logic that reflects the specific requirements of your organization * Create, query, and transform XML data with LINQ * Transform object, relational and XML data between each other * Master best patterns and practices for writing robust, easy-to-maintain LINQ code