Consider a database table holding names, with three rows:
SubjectID StudentName
--------- -------------
1 Peter
2 Paul
2 Mary
Is there an easy way to turn this into a single string in entity framework? something like this:
SubjectID StudentName
---------- -------------
1 Peter
2 Paul, Mary
Check this link to more information.