开发者

Convert from Salesforce.com sObject[] to .NET DataSet

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜