I have an ASP.NET MVC app in which I am iterating through a Linq result set. Each row in the result set contains a property which is an EntitySet itself. When I try to iterate through the inner result set, I get an error message: "Invalid object name EntitySetOfSubItem" when trying to load the page. How do I process this collection?
<% foreach item in Model { %>
... code
<% foreach subitem in item.EntitySetOfSubItems { %>