This Wrox Blox introduces you to Language Integrated Query (LINQ), a .NET 3.5 application programming interface (API) and set of extensions to the Visual Basic and C# languages. First, you get acquainted with LINQ’s Standard Query Operators (SQOs) and new keywords that define the language. Then you use the SQOs to write LINQ expressions in C# 3.0 and VB 9.0 that let you query diverse data types with a single syntax that’s similar to Structured Query Language (SQL). You also discover how to take advantage of a shorthand method-call syntax that chains lambda expressions.
Next you discover how Visual Studio 2008’s primary domain-specific LINQ implementation—LINQ to SQL—persists collections of business objects in SQL Server 200x Tables. You dig into the details of creating an object-oriented data access layer (DAL) with LINQ to SQL’s graphical object/relational mapping (O/RM) tool. You see how to automatically generate entity classes by dragging table nodes from a Server Explorer connection to the O/R Mapper’s and discover how associations between entities called EntityRefs and EntitySets correspond to n:1 and 1:n relationships. You also learn how to use the DAL to bind UI controls on data-driven Web pages with ASP.NET’s new LinqDataSource control that substitutes for the ObjectDataSource control. Complete C# 3.0 and Visual Basic 9.0 project code for the LINQ2SQL2ASP.sln project is available for downloading.
Usage Rights for Wiley Wrox Blox
Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:
If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).