Thread: Linq Problem
View Single Post
  #7 (permalink)  
Old June 9th, 2010, 02:57 PM
barakros barakros is offline
Authorized User
Points: 154, Level: 3
Points: 154, Level: 3 Points: 154, Level: 3 Points: 154, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 34
Thanks: 5
Thanked 0 Times in 0 Posts
Default another question about linq

Hi
one of the example in the book is about Reviews and Genre,where the linq is from the Reviews
Code:
From myReviews im myDatacontedxt.Reviews _
Where myReview.Authorized=True _
Select New With {myReview.Id,myReview.Genre.name}
I want to do something like it but need Grouping.
try to look for it on the web but the syntax is not clear to me how to group and SUM for example

can you give an example or reference?

TIA
Barak

Last edited by barakros; June 9th, 2010 at 03:24 PM..
Reply With Quote