Following query is used for Getting Categories and one news for each category. How can I write this query using LINQ
SELECT * FROM News n where n.NewsID IN
(SELECT TOP 1 NewsID FROM News v
WHERE v.CategoryID = n.CategoryID
ORDER BY CreatedOn DESC)
Thanks in advance.