Group By multiple fields in LINQ?

J

james

Hi Guys,

Is it possible to group by multiple Fields in LINQ? I want to do
something similiar to SQL command:

SELECT Count(*) FROM MyTable
GROUP BY Field1, Field2

Thanks!

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top