开发者

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

开发者 https://www.devze.com 2023-03-13 10:21 出处:网络
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 displ

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

精彩评论

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