Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO x SQL-PassThrough
Message
De
17/05/2001 09:55:18
 
 
À
17/05/2001 04:23:01
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00508217
Message ID:
00508273
Vues:
21
>Hi, Everybody!
>
>I'm just starting to study and do n-tier development, and I'm with a couple of doubts, that I'm solving on each thread here on UT. :-)
>
>Please, for every issue (performance, beauty, etc...), what would do the best approach to pass data through objects and layers:
>
>* Use ADO everywhere
>
>or
>
>* Use SQL-PassThrough to access data, and after work with this data, create a "fabricated" RecordSet, and populate it, and later pass it ahead??

What is your target database?

From a performance point of view ADO will do better than SPT, especially if you can use an OLEDB provider. For an ODBC data source it can go either way.

But like Craig said, for passing data through layers in an n-tier design SPT is not a choice.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform