I am taking over an application that currently has data in a database, but we are converting to Salesforce, the pr开发者_如何学Goevious developers passed Datasets to the controls to be bound and displayed. In order to try and make my life easier, I would love to be able to have a wrapper that would take the sObject[] from Salesforce and convert it to a DataSet that I can pass back. I have been racking my brain and can't seem to see a way to do this. Does anyone know how?
I ended up figuring it out. I had to use Reflection to parse the private Fields that were returned as a part of the object, but have been able to do it.
精彩评论