Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB, C#, and VFP data handling examples
Message
From
16/04/2007 16:56:54
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
16/04/2007 05:15:10
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01215120
Message ID:
01216507
Views:
26
Do you mean the equivalent of GETFLDSSTATE() and buffering?

That's precisely what I mean. If you use a layered approach, an entity passed between layers does not support change tracking. So you need to roll your own. Either that, or you need to leave it connected until you finish with it.

I'm saying this purely from a NET perspective. The same criticism could be directed at a VFP view- if you pass data between tiers, you can't send the view cursor so you need to do work to manage change tracking. You can use VFP's disconnected features, but in Linq you'd use SSCE (one day ;-)) so it's a different argument.

My guess is that MS will add some sort of change tracking at an entity level before long. Until then, it's difficult to argue entities over typed datasets for a tiered app.

I note that some NET luminaries don't seem to use the typed dataset's change tracking, preferring to roll their own. Presumably there's more to it. I have a feeling that some people handle change tracking in a SP(!) i.e. pass everything to the backend and let it handle it, but lets wait and see...
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform