2

I have a little problem. I want concatenate a list of string in a nhibernate query.

For example, i have a list of string ("A", "B", "C"), I want concatenate this in only one string "A,B,C". Is it possible?

This is my Query:

IQCategory.Select(x => new ResultModel 
  { Id = x.Id, 
    Category = x.Category, 
    ArticleOfCategory = x.ListArticle.Select(y=>y.Description).ToString() 
  });
S.Spieker
  • 7,005
  • 8
  • 44
  • 50
Nopesound
  • 482
  • 1
  • 13
  • 28

0 Answers0