How to convert linq entitySet AND CHILDREN to lists?

Posted by Abe Miessler on Stack Overflow See other posts from Stack Overflow or by Abe Miessler
Published on 2010-04-08T15:09:37Z Indexed on 2010/04/08 15:13 UTC
Read the original article Hit count: 452

Filed under:
|

I ran into an error when trying to serialize a linq entitySet. To get around this i converted the entitySet to a list. The problem I have run into now is that it's child entity sets are not converting to a list and when I try to serialize the parent those are now throwing an error. Does anyone know of a way to convert a linq entitySet AND it's children to lists?

p.s. I'm new to linq so if any of this dosn't make sense let me know

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about LINQ