I have a Collection on Menu Sections which each contain a collection of Menu Items (it’s a two-tier menu, simple stuff). Ideally I could deepload the MenuSection collection to grab the MenuItems atthe same time, but failing that, is there a way that I can return a separate Collection of each using only one database call via subsonic? Am I stuck using a DataSet with multiple tables?
Share
Yes – there are ways to do this – many different approaches. You can use a View and load everything, then spin that out to a structured object set. Or you could run a joined query into a datareader and load the objects with some looping logic.