How to convert this SQL query to Linq to Entity query?
- by George
Hi, could you help me please convert this SQL query to Linq to Entity query? Thank you
select distinct item, count(item) as count
from TableName
where ColumnName = @parameter and (ColumnName2 = @parameter2 OR ColumnName3 = @parameter3)
group by item order by item asc