linq subquery child collection to string
Posted
by bill
on Stack Overflow
See other posts from Stack Overflow
or by bill
Published on 2010-06-05T21:04:22Z
Indexed on
2010/06/05
21:12 UTC
Read the original article
Hit count: 169
Hi All,
i am trying to figure out how to write a linq query that will return a child collections "name" property as a string.
I have a BO that has a "options" property where the options are the "name" property of each option in an "order" object.
I would like the result to look something like
order.id = 12312
order.date = 12/03/10
order.options = "Option 1 Name, Option 2 Name, Option 3 Name"
I hope this makes sense. thanks for any and all help!
© Stack Overflow or respective owner