O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

22.7. Retrieving Data from Multiple Tables with LINQ

In this section, you’ll perform LINQ to Entities queries using the LINQ query syntax that was introduced in Chapter 9. In particular, you’ll learn how to obtain query results that combine data from multiple tables (Fig. 22.23).

a) List of authors and the ISBNs of the books they’ve authored; sort the authors by last name then first name

Image

b) List of authors and the titles of the book’s they’ve authored; sort the authors by last name then first name; for a given author, sort the titles alphabetically

c) List of titles grouped by author; sort the authors by last name then first name; for a given ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required