Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB, C#, and VFP data handling examples
Message
De
22/04/2007 20:51:19
 
 
À
19/04/2007 01:04:53
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01215120
Message ID:
01218734
Vues:
22
>This DataSet can be passed around...
>
>Yes it can... though it seems that few actually use it for that purpose. ;-)

John,

We pass DataSets around (or as an XML string through the Web Service layer, although not as a DiffGram) ... we use GetChanges() to only pass the changed stuff back through the Web Service to the DataAccess, so that only changed rows get updated.

Up until now, we haven't had to worry about using any kind of locking mechanism ... the nature of our application was such that it was good enough that when changes were saved, the last one saved was the winner. <g> Contention wasn't really much of an issue.

Now however, with some new apps we're in the process of developing, we *are* going to have to worry about it. We are planning on implementing semaphore locking, but haven't gotten that far into it yet.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform