C
corey.burnett
I am writing an ASP.NET application that uses SalesForce data as the
back end. SalesForce has a web service that exposes the data in their
system. Unfortunately the ways that you can select data are very
rudimentary. There is no way to do a join between tables in SalesForce
and there is no way to sort data in SalesForce. You also can't do many
of the other options in SQL like Unique, etc. Basically you can select
data from one table at a time and you can use very basic WHERE clauses
and that's about it.
So my plan was to select data from SalesForce and populate an ADO.NET
DataTable. If I needed to sort the data I would create a DataView that
would sort properly. If I needed to do a join then I would put
multiple DataTables in to a DataSet and manually add DataRelations.
Am I going in the right direction? This seems so, so cumbersome and of
course the performance stinks. I have warned the client about this
from the beginning but this project is sort of a "proof of concept" to
see if it can be done.
I'm just getting lost a bit in all of the different ADO.NET objects
that are out there and I haven't been able to find a good example
anywhere that shows me how you can take data from individual tables and
add relationships and sort, etc. Can anyone point me to a good example
that shows how this is done? Or if there is a completely better way to
approach this?
Thanks,
Corey
back end. SalesForce has a web service that exposes the data in their
system. Unfortunately the ways that you can select data are very
rudimentary. There is no way to do a join between tables in SalesForce
and there is no way to sort data in SalesForce. You also can't do many
of the other options in SQL like Unique, etc. Basically you can select
data from one table at a time and you can use very basic WHERE clauses
and that's about it.
So my plan was to select data from SalesForce and populate an ADO.NET
DataTable. If I needed to sort the data I would create a DataView that
would sort properly. If I needed to do a join then I would put
multiple DataTables in to a DataSet and manually add DataRelations.
Am I going in the right direction? This seems so, so cumbersome and of
course the performance stinks. I have warned the client about this
from the beginning but this project is sort of a "proof of concept" to
see if it can be done.
I'm just getting lost a bit in all of the different ADO.NET objects
that are out there and I haven't been able to find a good example
anywhere that shows me how you can take data from individual tables and
add relationships and sort, etc. Can anyone point me to a good example
that shows how this is done? Or if there is a completely better way to
approach this?
Thanks,
Corey