Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB, C#, and VFP data handling examples
Message
De
30/04/2007 04:43:48
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
30/04/2007 04:37:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01215120
Message ID:
01221021
Vues:
16
t is relatively trivial to create a partial class belonging to the dataset that contains any/all manner of logic and behaviour related to the data objects in the dataset. This also provides extended advantages that were not available prior to .NET 2. For example, if/when the dataset is regenerated, you don't lose your additional logic because it is retained in your own partial class file.

Thanks for the response. The reason I asked Bonnie is because she suggested earlier that change tracking should not be handled in a partial class but at the parent tier. Hence my question. ;-) To be honest I can see justifications either way.
"... 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform