I know there is a way to concatenate the values of a column using sql statement as it is explained here. For example
SELECT SUBSTRING(
(SELECT ', '+ Name AS 'data()' from Names for xml path(''))
,3, 255) as "MyList"
Is it possible to make linq to sql generate the concatenation in the database as a subquery not in the memory or with many additional queries?