I've spent a lot of time today trying to work out the best output type for my requirement. I'm trying to create an object that I can query in different ways.
It has ten tables with deferring column headers, but that isn't the problem as I have unified the tables into one heading structure. The problem is the best method to cast the output.
At the moment the best I've come up with is nested hash-tables. A hash of attributes, hash of features, hash of services
Rather than hash tables, I'd construct objects that have properties. That'll make the data easier to access. And having one property contain a bunch of other objects, with their own properties, is fine. .NET does that all the time.
You must be logged in to reply to this topic.