Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Should CursorAdapters Become The Data Layer?
Message
De
17/02/2003 20:47:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00754297
Message ID:
00754313
Vues:
22
Actually, passing a CursorAdapter between tiers will be problematic, depending on your design. The cursor exists in a data session and that can't be passed. IMO, even when the tiers are logically separated, they should all use private data sessions, which means you can't pass a CursorAdapter.


>As I see it, CursorAdapters are not the data layer, but the means to exchange data. You can pass a CursorAdapter between tiers (data - bizobjs - UI) and use the underlying dataset, much as we could do before with an XML string or an ADO recorset, but with a cleaner interface.
>
>Hope this helps,
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform