Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB, C#, and VFP data handling examples
Message
From
19/04/2007 18:26:10
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
19/04/2007 18:07:10
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01215120
Message ID:
01218076
Views:
31
You seemed to previously be arguing that .NET didn't have a way to do that unless you were "connected", unless I misunderstood you.

I feel sure I've already said this, however: it was stated elsewhere that datasets are rendered obsolete by entities. I decided to investigate. I found that dLinQ entities have no change tracking as soon as you disconnect from the DataContext, which you have to do to cross a tier. As you note, datasets need not suffer this limitation. Therefore why would you consider entities over datasets in April 2007, unless you can stay connected. Clearly datasets are not obsolete. MS (or at least a MS employee) has acknowledged the issue elsewhere (see previous post for link) and says it will be addressed.

I have no idea why people have interpreted this as "NET can't do change tracking". I'm wondering whether I'm the only person who has actually looked at LinQ and "gets" the distinction.

Since then I've learned that even those who advocate datasets apparently don't use the change tracking functions. So, I've tried to find out how they manage change tracking. One well-known author uses SPs that update every field every time and has rolled his own pessimistic locking system to avoid change tracking altogether. I'd be interested to hear your opinion of that. Why aren't these people passing datasets and using change tracking so they can reuse classes in stateless apps rather than writing something new? Is use of SP more important?
"... 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