LINQ in Action roller

Cannot write the LINQ aggegrate expression group + first

The query here, is getting the first verse of all chapters from a book in a bible. SELECT First(t.textid) AS FirstOftextid, First(bookch.chapter) AS FirstOfchapter FROM bookchapter AS bookch INNER JOIN bookchapteralinea AS bca INNER JOIN [Text] AS t ON bca.bookchapteralineaid = t.BookChapterAlineaid AND bca.Alineaid = t.Alineaid ON bookch.bookchapterid = bca.bookchapterid WHERE t.bookeditionid=? GROUP BY bca.bookchapterid; In LINQ I could produce something like this (but no further). Who can help Read More...
Published Monday, December 01, 2008 10:46 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication