SELECT COUNT in LINQ to SQL C#

Viewed 184648

How can I write LINQ to SQL with COUNT?

Example:

var purch = from purchase in myBlaContext.purchases
            select purchase;

How can I get the count here?

2 Answers
Related