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()
});