I have a table like this (Table name: Posts):
+----+--------------------------+-------+------------+
| id | content | type | date |
+
I suppose you can group your Posts rows by type and then select first content from descending ordered by date collection of that type
from row in Posts
group row by row.type
into g
select new
{
Content = (from row2 in g orderby row2.date descending select row2.content).FirstOrDefault(),
Type = g.Key
}